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

Unified Diff: ppapi/tests/test_tcp_socket_private_shared.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_input_event.cc ('k') | ppapi/tests/test_transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_tcp_socket_private_shared.cc
diff --git a/ppapi/tests/test_tcp_socket_private_shared.cc b/ppapi/tests/test_tcp_socket_private_shared.cc
index 7ca36668c3f4e2c54d3f9bcd124bc5927a50c72c..a05211827ea92f641afb445f0967e7301d0725f7 100644
--- a/ppapi/tests/test_tcp_socket_private_shared.cc
+++ b/ppapi/tests/test_tcp_socket_private_shared.cc
@@ -25,10 +25,8 @@ TestTCPSocketPrivateShared::TestTCPSocketPrivateShared(
}
bool TestTCPSocketPrivateShared::Init() {
- tcp_socket_private_interface_ =
- reinterpret_cast<PPB_TCPSocket_Private const*>(
- pp::Module::Get()->GetBrowserInterface(
- PPB_TCPSOCKET_PRIVATE_INTERFACE));
+ tcp_socket_private_interface_ = static_cast<const PPB_TCPSocket_Private*>(
+ pp::Module::Get()->GetBrowserInterface(PPB_TCPSOCKET_PRIVATE_INTERFACE));
if (!tcp_socket_private_interface_)
instance_->AppendError("TCPSocketPrivate interface not available");
return tcp_socket_private_interface_ && InitTestingInterface();
« no previous file with comments | « ppapi/tests/test_input_event.cc ('k') | ppapi/tests/test_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698