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

Unified Diff: content/renderer/render_widget.cc

Issue 9873029: Fix IME support for --enable-threaded-compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index 70534c3dcd539ac3dd378fcdcff2548a53216389..533021f9deefc3358f6d56be77f4db8cd6e7b978 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -1114,6 +1114,13 @@ void RenderWidget::didDeactivateCompositor() {
void RenderWidget::willBeginCompositorFrame() {
piman 2012/03/28 16:45:50 Just to double-check, this is only called with the
nduca 2012/03/28 18:01:12 Yes, now.
TRACE_EVENT0("gpu", "RenderWidget::willBeginCompositorFrame");
+
+ // The following two can result in further layout and possibly
+ // enable GPU acceleration so they need to be called before any painting
+ // is done.
+ UpdateTextInputState();
+ UpdateSelectionBounds();
+
WillInitiatePaint();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698