Title: [94133] trunk/Source/WebKit/chromium
- Revision
- 94133
- Author
- [email protected]
- Date
- 2011-08-30 17:18:43 -0700 (Tue, 30 Aug 2011)
Log Message
Unreviewed, fix WebGL layout tests due to missing WebView pointer.
* src/GraphicsContext3DChromium.cpp:
(WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (94132 => 94133)
--- trunk/Source/WebKit/chromium/ChangeLog 2011-08-31 00:13:20 UTC (rev 94132)
+++ trunk/Source/WebKit/chromium/ChangeLog 2011-08-31 00:18:43 UTC (rev 94133)
@@ -1,3 +1,10 @@
+2011-08-30 Nat Duca <[email protected]>
+
+ Unreviewed, fix WebGL layout tests due to missing WebView pointer.
+
+ * src/GraphicsContext3DChromium.cpp:
+ (WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
+
2011-08-30 Aaron Colwell <[email protected]>
Add MediaSource API to HTMLMediaElement
Modified: trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp (94132 => 94133)
--- trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp 2011-08-31 00:13:20 UTC (rev 94132)
+++ trunk/Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp 2011-08-31 00:18:43 UTC (rev 94133)
@@ -120,7 +120,10 @@
PassRefPtr<GraphicsContext3D> GraphicsContext3DPrivate::createGraphicsContextFromWebContext(PassOwnPtr<WebKit::WebGraphicsContext3D> webContext, GraphicsContext3D::Attributes attrs, HostWindow* hostWindow, GraphicsContext3D::RenderStyle renderStyle)
{
- OwnPtr<GraphicsContext3DPrivate> priv = GraphicsContext3DPrivate::create(0, webContext);
+ Chrome* chrome = static_cast<Chrome*>(hostWindow);
+ WebKit::WebViewImpl* webViewImpl = chrome ? static_cast<WebKit::WebViewImpl*>(chrome->client()->webView()) : 0;
+
+ OwnPtr<GraphicsContext3DPrivate> priv = GraphicsContext3DPrivate::create(webViewImpl, webContext);
if (!priv)
return 0;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes