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

Unified Diff: ppapi/tests/test_graphics_2d.cc

Issue 8879009: In ppapi/tests: |... const*| -> |const ...*| (for consistency). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | « ppapi/tests/test_cursor_control.cc ('k') | ppapi/tests/test_graphics_3d.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 49658989cf1e0032efaa03f77b8d0152e0441dc1..63cfc427c6e1d8c24a539b9639928f635be9bd5b 100644
--- a/ppapi/tests/test_graphics_2d.cc
+++ b/ppapi/tests/test_graphics_2d.cc
@@ -27,15 +27,15 @@ void FlushCallbackNOP(void* data, int32_t result) {
}
void FlushCallbackQuitMessageLoop(void* data, int32_t result) {
- reinterpret_cast<TestGraphics2D*>(data)->QuitMessageLoop();
+ static_cast<TestGraphics2D*>(data)->QuitMessageLoop();
}
} // namespace
bool TestGraphics2D::Init() {
- graphics_2d_interface_ = reinterpret_cast<PPB_Graphics2D const*>(
+ graphics_2d_interface_ = static_cast<const PPB_Graphics2D*>(
pp::Module::Get()->GetBrowserInterface(PPB_GRAPHICS_2D_INTERFACE));
- image_data_interface_ = reinterpret_cast<PPB_ImageData const*>(
+ image_data_interface_ = static_cast<const PPB_ImageData*>(
pp::Module::Get()->GetBrowserInterface(PPB_IMAGEDATA_INTERFACE));
return graphics_2d_interface_ && image_data_interface_ &&
InitTestingInterface();
« no previous file with comments | « ppapi/tests/test_cursor_control.cc ('k') | ppapi/tests/test_graphics_3d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698