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

Side by Side Diff: ppapi/utility/graphics/paint_manager.cc

Issue 9122012: gcl change rev (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/utility/graphics/paint_manager.h ('k') | ppapi/utility/non_thread_safe_ref_count.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ppapi/utility/graphics/paint_manager.h" 5 #include "ppapi/utility/graphics/paint_manager.h"
6 6
7 #include "ppapi/c/pp_errors.h" 7 #include "ppapi/c/pp_errors.h"
8 #include "ppapi/cpp/instance.h" 8 #include "ppapi/cpp/instance.h"
9 #include "ppapi/cpp/logging.h" 9 #include "ppapi/cpp/logging.h"
10 #include "ppapi/cpp/module.h" 10 #include "ppapi/cpp/module.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 // Just because we have a manual callback doesn't mean there are actually any 194 // Just because we have a manual callback doesn't mean there are actually any
195 // invalid regions. Even though we only schedule this callback when something 195 // invalid regions. Even though we only schedule this callback when something
196 // is pending, a Flush callback could have come in before this callback was 196 // is pending, a Flush callback could have come in before this callback was
197 // executed and that could have cleared the queue. 197 // executed and that could have cleared the queue.
198 if (aggregator_.HasPendingUpdate() && !flush_pending_) 198 if (aggregator_.HasPendingUpdate() && !flush_pending_)
199 DoPaint(); 199 DoPaint();
200 } 200 }
201 201
202 202
203 } // namespace pp 203 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/utility/graphics/paint_manager.h ('k') | ppapi/utility/non_thread_safe_ref_count.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698