summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/extension_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/renderer/extension_helper.cc')
-rw-r--r--extensions/renderer/extension_helper.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/renderer/extension_helper.cc b/extensions/renderer/extension_helper.cc
index 8eb0cc8..728ea13 100644
--- a/extensions/renderer/extension_helper.cc
+++ b/extensions/renderer/extension_helper.cc
@@ -47,6 +47,7 @@ void ExtensionHelper::DraggableRegionsChanged(blink::WebFrame* frame) {
std::vector<DraggableRegion> regions;
for (size_t i = 0; i < webregions.size(); ++i) {
DraggableRegion region;
+ render_view()->convertViewportToWindow(&webregions[i].bounds);
region.bounds = webregions[i].bounds;
region.draggable = webregions[i].draggable;
regions.push_back(region);