Add `deprecated` flag for nativeImageSource

Summary:
Looks like the native Image implementation used to treat old `image!` images slightly differently. This diff restores that behavior for `nativeImageSource`.

{F65080365}

Reviewed By: mmmulani

Differential Revision: D4240506

fbshipit-source-id: d8d39216f86df32e0614d7cdc95df2148c85077a
This commit is contained in:
Alex Kotliarskyi 2016-11-28 15:57:06 -08:00 committed by Facebook Github Bot
parent 97887c2a52
commit 1fe0f4d8ec
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ function nativeImageSource(spec: SourceSpec): Object {
uri, uri,
width: spec.width, width: spec.width,
height: spec.height, height: spec.height,
deprecated: true,
}; };
} }