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

Unified Diff: plugin/linux/main_linux.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.cc ('k') | plugin/mac/o3d_layer.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plugin/linux/main_linux.cc
===================================================================
--- plugin/linux/main_linux.cc (revision 69196)
+++ plugin/linux/main_linux.cc (working copy)
@@ -82,9 +82,7 @@
obj->client()->Tick();
obj->draw_ = true;
if (obj->renderer()) {
- if (obj->client()->NeedsContinuousRender() ||
- obj->renderer()->need_to_render()) {
-
+ if (obj->client()->NeedsRender()) {
// NOTE: this draws no matter what instead of just invalidating the
// region, which means it will execute even if the plug-in window is
// invisible.
@@ -605,9 +603,7 @@
obj->draw_ = true;
obj->client()->Tick();
if (obj->renderer()) {
- if (obj->client()->NeedsContinuousRender() ||
- obj->renderer()->need_to_render()) {
-
+ if (obj->client()->NeedsRender()) {
GtkWidget *widget;
if (obj->fullscreen()) {
widget = obj->gtk_fullscreen_container_;
« no previous file with comments | « core/cross/client.cc ('k') | plugin/mac/o3d_layer.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698