OLD | NEW |
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 Loading... |
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 |
OLD | NEW |