Index: content/browser/web_contents/touch_editable_impl_aura.cc |
diff --git a/content/browser/web_contents/touch_editable_impl_aura.cc b/content/browser/web_contents/touch_editable_impl_aura.cc |
index 8bf497d642fe8502f37ec02928158b1ad91ce41a..a9569df9296a890b3a5adf0d2e965d5740698d0c 100644 |
--- a/content/browser/web_contents/touch_editable_impl_aura.cc |
+++ b/content/browser/web_contents/touch_editable_impl_aura.cc |
@@ -248,7 +248,8 @@ void TouchEditableImplAura::GetSelectionEndPoints(gfx::Rect* p1, |
} |
gfx::Rect TouchEditableImplAura::GetBounds() { |
- return rwhva_ ? rwhva_->GetNativeView()->bounds() : gfx::Rect(); |
+ return rwhva_ ? gfx::Rect(rwhva_->GetNativeView()->bounds().size()) : |
+ gfx::Rect(); |
} |
gfx::NativeView TouchEditableImplAura::GetNativeView() const { |