Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java

Issue 188203002: Fix a black screen when opening a child Shell. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
===================================================================
--- content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java (revision 254956)
+++ content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java (working copy)
@@ -77,6 +77,8 @@
@Override
public void surfaceCreated(SurfaceHolder holder) {
+ setSurfaceViewBackgroundColor(Color.WHITE);
+
assert mNativeContentViewRenderView != 0;
nativeSurfaceCreated(mNativeContentViewRenderView);
@@ -93,7 +95,6 @@
}
};
mSurfaceView.getHolder().addCallback(mSurfaceCallback);
- setSurfaceViewBackgroundColor(Color.WHITE);
mVSyncAdapter = new VSyncAdapter(getContext());
addView(mSurfaceView,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698