Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2053)

Unified Diff: webkit/compositor_bindings/WebContentLayerImpl.cpp

Issue 10915165: Don't depend on WEBKIT_IMPLEMENTATION guarded geometry conversion c'tors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add new files to gyp Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/compositor_bindings/WebExternalTextureLayerImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/WebContentLayerImpl.cpp
diff --git a/webkit/compositor_bindings/WebContentLayerImpl.cpp b/webkit/compositor_bindings/WebContentLayerImpl.cpp
index 2705ff6ddd93eed426cec1d83bc1980507b79cb9..a1f88fd533d5f00d1db952d99108531d69f67878 100644
--- a/webkit/compositor_bindings/WebContentLayerImpl.cpp
+++ b/webkit/compositor_bindings/WebContentLayerImpl.cpp
@@ -7,6 +7,7 @@
#include "ContentLayerChromium.h"
#include "SkMatrix44.h"
+#include "webcore_convert.h"
#include <public/WebContentLayerClient.h>
#include <public/WebFloatPoint.h>
#include <public/WebFloatRect.h>
@@ -70,8 +71,8 @@ void WebContentLayerImpl::paintContents(SkCanvas* canvas, const IntRect& clip, F
if (!m_client)
return;
WebFloatRect webOpaque;
- m_client->paintContents(canvas, WebRect(clip), webOpaque);
- opaque = webOpaque;
+ m_client->paintContents(canvas, convert(clip), webOpaque);
+ opaque = convert(webOpaque);
}
} // namespace WebKit
« no previous file with comments | « no previous file | webkit/compositor_bindings/WebExternalTextureLayerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698