Title: [153042] trunk/Source/WebCore
Revision
153042
Author
[email protected]
Date
2013-07-23 04:24:10 -0700 (Tue, 23 Jul 2013)

Log Message

Remove the topDocumentURL member of the GraphicsContext3D::Attributes struct
https://bugs.webkit.org/show_bug.cgi?id=118987

Reviewed by Darin Adler.

Remove the topDocumentURL member that currently resides in the GraphicsContext3D::Attributes struct.
It's not used anywhere and only has one place where it is set, in WebGLRenderingContext::create.

* html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::create):
* platform/graphics/GraphicsContext3D.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (153041 => 153042)


--- trunk/Source/WebCore/ChangeLog	2013-07-23 11:21:59 UTC (rev 153041)
+++ trunk/Source/WebCore/ChangeLog	2013-07-23 11:24:10 UTC (rev 153042)
@@ -1,5 +1,19 @@
 2013-07-23  Zan Dobersek  <[email protected]>
 
+        Remove the topDocumentURL member of the GraphicsContext3D::Attributes struct
+        https://bugs.webkit.org/show_bug.cgi?id=118987
+
+        Reviewed by Darin Adler.
+
+        Remove the topDocumentURL member that currently resides in the GraphicsContext3D::Attributes struct.
+        It's not used anywhere and only has one place where it is set, in WebGLRenderingContext::create.
+
+        * html/canvas/WebGLRenderingContext.cpp:
+        (WebCore::WebGLRenderingContext::create):
+        * platform/graphics/GraphicsContext3D.h:
+
+2013-07-23  Zan Dobersek  <[email protected]>
+
         Remove unused DrawingBuffer::paintRenderingResultsToImageData
         https://bugs.webkit.org/show_bug.cgi?id=118986
 

Modified: trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp (153041 => 153042)


--- trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp	2013-07-23 11:21:59 UTC (rev 153041)
+++ trunk/Source/WebCore/html/canvas/WebGLRenderingContext.cpp	2013-07-23 11:24:10 UTC (rev 153042)
@@ -430,7 +430,6 @@
     attributes.noExtensions = true;
     attributes.shareResources = false;
     attributes.preferDiscreteGPU = true;
-    attributes.topDocumentURL = document->topDocument()->url();
 
     RefPtr<GraphicsContext3D> context(GraphicsContext3D::create(attributes, hostWindow));
 

Modified: trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h (153041 => 153042)


--- trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h	2013-07-23 11:21:59 UTC (rev 153041)
+++ trunk/Source/WebCore/platform/graphics/GraphicsContext3D.h	2013-07-23 11:24:10 UTC (rev 153042)
@@ -29,7 +29,6 @@
 #include "GraphicsTypes3D.h"
 #include "Image.h"
 #include "IntRect.h"
-#include "KURL.h"
 #include "PlatformLayer.h"
 #include <wtf/HashMap.h>
 #include <wtf/ListHashSet.h>
@@ -454,7 +453,6 @@
         bool noExtensions;
         bool shareResources;
         bool preferDiscreteGPU;
-        KURL topDocumentURL;
     };
 
     enum RenderStyle {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to