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 00c69ce1213a5a0379785841e498fc06cdbb197f..be45d18c945b1f870f6329e5337f0c0ad682d183 100644 |
--- a/content/browser/web_contents/touch_editable_impl_aura.cc |
+++ b/content/browser/web_contents/touch_editable_impl_aura.cc |
@@ -255,7 +255,7 @@ gfx::Rect TouchEditableImplAura::GetBounds() { |
} |
gfx::NativeView TouchEditableImplAura::GetNativeView() const { |
- return rwhva_ ? rwhva_->GetNativeView()->GetRootWindow() : NULL; |
+ return rwhva_ ? rwhva_->GetNativeView()->GetToplevelWindow() : NULL; |
} |
void TouchEditableImplAura::ConvertPointToScreen(gfx::Point* point) { |