Index: ppapi/cpp/paint_manager.cc |
=================================================================== |
--- ppapi/cpp/paint_manager.cc (revision 88104) |
+++ ppapi/cpp/paint_manager.cc (working copy) |
@@ -133,7 +133,7 @@ |
return; // Nothing was painted, don't schedule a flush. |
int32_t result = graphics_.Flush( |
- callback_factory_.NewCallback(&PaintManager::OnFlushComplete)); |
+ callback_factory_.NewOptionalCallback(&PaintManager::OnFlushComplete)); |
// If you trigger this assertion, then your plugin has called Flush() |
// manually. When using the PaintManager, you should not call Flush, it will |