Index: Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp |
=================================================================== |
--- Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp (revision 114754) |
+++ Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp (working copy) |
@@ -80,6 +80,7 @@ |
, m_minPageScaleFactor(1) |
, m_maxPageScaleFactor(1) |
, m_triggerIdlePaints(true) |
+ , m_backgroundColor(Color::white) |
, m_partialTextureUpdateRequests(0) |
{ |
ASSERT(CCProxy::isMainThread()); |
@@ -224,6 +225,7 @@ |
hostImpl->setSourceFrameNumber(frameNumber()); |
hostImpl->setViewportSize(viewportSize()); |
hostImpl->setPageScaleFactorAndLimits(m_pageScaleFactor, m_minPageScaleFactor, m_maxPageScaleFactor); |
+ hostImpl->setBackgroundColor(m_backgroundColor); |
m_frameNumber++; |
} |