Index: content/browser/web_contents/web_contents_impl_unittest.cc |
diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc |
index 5464042094821e5d93ca97ed05469898b28d9013..965da64f146b5b8edb762f60b46a1add69e11126 100644 |
--- a/content/browser/web_contents/web_contents_impl_unittest.cc |
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc |
@@ -3319,6 +3319,7 @@ TEST_F(WebContentsImplTest, MediaPowerSaveBlocking) { |
TEST_F(WebContentsImplTest, ThemeColorChangeDependingOnFirstVisiblePaint) { |
TestWebContentsObserver observer(contents()); |
TestRenderFrameHost* rfh = contents()->GetMainFrame(); |
+ rfh->InitializeRenderFrameIfNeeded(); |
SkColor transparent = SK_ColorTRANSPARENT; |