Title: [92999] trunk/Source/WebCore
Revision
92999
Author
[email protected]
Date
2011-08-12 14:41:14 -0700 (Fri, 12 Aug 2011)

Log Message

[chromium] Fix compositor breakage due to duplicate context creation AND by context-lost
https://bugs.webkit.org/show_bug.cgi?id=66168

* platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::CCLayerTreeHost):
(WebCore::CCLayerTreeHost::initialize):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (92998 => 92999)


--- trunk/Source/WebCore/ChangeLog	2011-08-12 21:35:02 UTC (rev 92998)
+++ trunk/Source/WebCore/ChangeLog	2011-08-12 21:41:14 UTC (rev 92999)
@@ -1,3 +1,12 @@
+2011-08-12  Nat Duca  <[email protected]>
+
+        [chromium] Fix compositor breakage due to duplicate context creation AND by context-lost
+        https://bugs.webkit.org/show_bug.cgi?id=66168
+
+        * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
+        (WebCore::CCLayerTreeHost::CCLayerTreeHost):
+        (WebCore::CCLayerTreeHost::initialize):
+
 2011-08-12  Levi Weintraub  <[email protected]>
 
         Switch RenderMenuList, RenderListBox, and RenderFieldSet to new layout units

Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp (92998 => 92999)


--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp	2011-08-12 21:35:02 UTC (rev 92998)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.cpp	2011-08-12 21:41:14 UTC (rev 92999)
@@ -44,18 +44,16 @@
 }
 
 CCLayerTreeHost::CCLayerTreeHost(CCLayerTreeHostClient* client, const CCSettings& settings)
-    : m_client(client)
+    : m_animating(false)
+    , m_client(client)
     , m_frameNumber(0)
+    , m_recreatingGraphicsContext(false)
     , m_settings(settings)
 {
 }
 
 bool CCLayerTreeHost::initialize()
 {
-    RefPtr<GraphicsContext3D> context = m_client->createLayerTreeHostContext3D();
-    if (!context)
-        return false;
-
     m_layerRenderer = createLayerRenderer();
     if (!m_layerRenderer)
         return false;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to