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

Unified Diff: core/cross/client.cc

Issue 5843001: Fix ON_DEMAND_RENDER mode on Mac OSX.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 10 years 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 | « core/cross/client.h ('k') | plugin/linux/main_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/client.cc
===================================================================
--- core/cross/client.cc (revision 69196)
+++ core/cross/client.cc (working copy)
@@ -386,6 +386,10 @@
return (renderer_.IsAvailable() && renderer_->rendering());
}
+bool Client::NeedsRender() {
+ return NeedsContinuousRender() || renderer_->need_to_render();
+}
+
bool Client::NeedsContinuousRender() {
bool needRender = false;
// Only may happen in RENDERMODE_CONTINUOUS mode.
« no previous file with comments | « core/cross/client.h ('k') | plugin/linux/main_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698