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

Unified Diff: content/renderer/text_input_client_observer.cc

Issue 1962923002: Fix rendering of flash content inside an out-of-process iframe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removing unneded includes Created 4 years, 7 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 | « content/renderer/render_widget_owner_delegate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/text_input_client_observer.cc
diff --git a/content/renderer/text_input_client_observer.cc b/content/renderer/text_input_client_observer.cc
index dec0181a87f0e6aab16216249a2ef88ec58cf504..fd7107b5ef43e2b3a157dab251ab28ed762cd39d 100644
--- a/content/renderer/text_input_client_observer.cc
+++ b/content/renderer/text_input_client_observer.cc
@@ -75,8 +75,8 @@ void TextInputClientObserver::OnCharacterIndexForPoint(gfx::Point point) {
void TextInputClientObserver::OnFirstRectForCharacterRange(gfx::Range range) {
gfx::Rect rect;
#if defined(ENABLE_PLUGINS)
- if (render_view_impl_->focused_pepper_plugin()) {
- rect = render_view_impl_->focused_pepper_plugin()->GetCaretBounds();
+ if (render_view_impl_->GetFocusedPepperPlugin()) {
+ rect = render_view_impl_->GetFocusedPepperPlugin()->GetCaretBounds();
} else
#endif
{
« no previous file with comments | « content/renderer/render_widget_owner_delegate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698