diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-08 22:31:21 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-08 22:31:21 +0000 |
commit | 4d52923375a83af70372df26404e3dd80c2ef4b6 (patch) | |
tree | 660c86bf11e4c95a828b27d8214b277981115a70 /ppapi/tests/test_input_event.cc | |
parent | f189b2527518a5a507eb764b2777a008e7528dcb (diff) | |
download | chromium_src-4d52923375a83af70372df26404e3dd80c2ef4b6.zip chromium_src-4d52923375a83af70372df26404e3dd80c2ef4b6.tar.gz chromium_src-4d52923375a83af70372df26404e3dd80c2ef4b6.tar.bz2 |
In ppapi/tests: |... const*| -> |const ...*| (for consistency).
Also fix a bunch of |reinterpret_cast|s (to |static_cast|).
So we can stop cutting-and-pasting the same mistakes over and over.
Review URL: http://codereview.chromium.org/8879009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113678 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/tests/test_input_event.cc')
-rw-r--r-- | ppapi/tests/test_input_event.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ppapi/tests/test_input_event.cc b/ppapi/tests/test_input_event.cc index 378a677..49526db 100644 --- a/ppapi/tests/test_input_event.cc +++ b/ppapi/tests/test_input_event.cc @@ -57,15 +57,15 @@ TestInputEvent::~TestInputEvent() { } bool TestInputEvent::Init() { - input_event_interface_ = static_cast<PPB_InputEvent const*>( + input_event_interface_ = static_cast<const PPB_InputEvent*>( pp::Module::Get()->GetBrowserInterface(PPB_INPUT_EVENT_INTERFACE)); - mouse_input_event_interface_ = static_cast<PPB_MouseInputEvent const*>( + mouse_input_event_interface_ = static_cast<const PPB_MouseInputEvent*>( pp::Module::Get()->GetBrowserInterface( PPB_MOUSE_INPUT_EVENT_INTERFACE)); - wheel_input_event_interface_ = static_cast<PPB_WheelInputEvent const*>( + wheel_input_event_interface_ = static_cast<const PPB_WheelInputEvent*>( pp::Module::Get()->GetBrowserInterface( PPB_WHEEL_INPUT_EVENT_INTERFACE)); - keyboard_input_event_interface_ = static_cast<PPB_KeyboardInputEvent const*>( + keyboard_input_event_interface_ = static_cast<const PPB_KeyboardInputEvent*>( pp::Module::Get()->GetBrowserInterface( PPB_KEYBOARD_INPUT_EVENT_INTERFACE)); |