Skip to content

Commit

Permalink
[embedlite] Return a valid pointer, also if GetPlatformImage() return…
Browse files Browse the repository at this point in the history
…ed false.

JB#28040
  • Loading branch information
sletta authored and rojkov committed May 19, 2015
1 parent 31a3fbc commit 0549d83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embedding/embedlite/EmbedLiteView.cpp
Expand Up @@ -386,7 +386,7 @@ void*
EmbedLiteView::GetPlatformImage(int* width, int* height)
{
NS_ENSURE_TRUE(mViewImpl, nullptr);
void* aImage;
void* aImage = 0;
mViewImpl->GetPlatformImage(&aImage, width, height);
return aImage;
}
Expand Down

0 comments on commit 0549d83

Please sign in to comment.