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 |