Index: tools/viewer/sk_app/android/surface_glue_android.cpp |
diff --git a/tools/viewer/sk_app/android/surface_glue_android.cpp b/tools/viewer/sk_app/android/surface_glue_android.cpp |
index 895b0bc4596bad4cd7607dbf7914e3f47c120145..0c1ab0cca24de1c593d9c3be8c04b58f7e3919d4 100644 |
--- a/tools/viewer/sk_app/android/surface_glue_android.cpp |
+++ b/tools/viewer/sk_app/android/surface_glue_android.cpp |
@@ -124,6 +124,7 @@ int SkiaAndroidApp::message_callback(int fd, int events, void* data) { |
skiaAndroidApp->fNativeWindow = message.fNativeWindow; |
window_android->initDisplay(skiaAndroidApp->fNativeWindow); |
} |
+ window_android->onResize(width, height); |
window_android->setContentRect(0, 0, width, height); |
window_android->paintIfNeeded(); |
break; |