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

Unified Diff: ppapi/tests/test_graphics_2d.cc

Issue 6432001: Implement proxy for FlashMenu and Run/QuitMessageLoop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handle NULL menus more gracefully Created 9 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/tests/test_file_ref.cc ('k') | ppapi/tests/test_url_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_graphics_2d.cc
diff --git a/ppapi/tests/test_graphics_2d.cc b/ppapi/tests/test_graphics_2d.cc
index b673b81f038762f0c7d606b8e69adbd615b501b8..d0e3f2041e85fde974018d2a5a18efb37bd73a7d 100644
--- a/ppapi/tests/test_graphics_2d.cc
+++ b/ppapi/tests/test_graphics_2d.cc
@@ -63,7 +63,7 @@ void TestGraphics2D::RunTest() {
}
void TestGraphics2D::QuitMessageLoop() {
- testing_interface_->QuitMessageLoop();
+ testing_interface_->QuitMessageLoop(instance_->pp_instance());
}
bool TestGraphics2D::ReadImageData(const pp::Graphics2D& dc,
@@ -93,7 +93,7 @@ bool TestGraphics2D::FlushAndWaitForDone(pp::Graphics2D* context) {
return true;
if (rv != PP_ERROR_WOULDBLOCK)
return false;
- testing_interface_->RunMessageLoop();
+ testing_interface_->RunMessageLoop(instance_->pp_instance());
return true;
}
« no previous file with comments | « ppapi/tests/test_file_ref.cc ('k') | ppapi/tests/test_url_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698