| Index: ppapi/shared_impl/test_globals.cc
|
| diff --git a/ppapi/shared_impl/test_globals.cc b/ppapi/shared_impl/test_globals.cc
|
| index 2739e26373d2ab7a0540f13195f3cb166d5d95cd..d6409975d57a53289edbf7d290bf14e939ffc1c9 100644
|
| --- a/ppapi/shared_impl/test_globals.cc
|
| +++ b/ppapi/shared_impl/test_globals.cc
|
| @@ -9,33 +9,27 @@ namespace ppapi {
|
| TestGlobals::TestGlobals()
|
| : ppapi::PpapiGlobals(),
|
| resource_tracker_(ResourceTracker::THREAD_SAFE),
|
| - callback_tracker_(new CallbackTracker) {
|
| -}
|
| + callback_tracker_(new CallbackTracker) {}
|
|
|
| TestGlobals::TestGlobals(PpapiGlobals::PerThreadForTest per_thread_for_test)
|
| : ppapi::PpapiGlobals(per_thread_for_test),
|
| resource_tracker_(ResourceTracker::THREAD_SAFE),
|
| - callback_tracker_(new CallbackTracker) {
|
| -}
|
| + callback_tracker_(new CallbackTracker) {}
|
|
|
| -TestGlobals::~TestGlobals() {
|
| -}
|
| +TestGlobals::~TestGlobals() {}
|
|
|
| ResourceTracker* TestGlobals::GetResourceTracker() {
|
| return &resource_tracker_;
|
| }
|
|
|
| -VarTracker* TestGlobals::GetVarTracker() {
|
| - return &var_tracker_;
|
| -}
|
| +VarTracker* TestGlobals::GetVarTracker() { return &var_tracker_; }
|
|
|
| CallbackTracker* TestGlobals::GetCallbackTrackerForInstance(
|
| PP_Instance instance) {
|
| return callback_tracker_.get();
|
| }
|
|
|
| -thunk::PPB_Instance_API* TestGlobals::GetInstanceAPI(
|
| - PP_Instance instance) {
|
| +thunk::PPB_Instance_API* TestGlobals::GetInstanceAPI(PP_Instance instance) {
|
| return NULL;
|
| }
|
|
|
| @@ -44,36 +38,25 @@ thunk::ResourceCreationAPI* TestGlobals::GetResourceCreationAPI(
|
| return NULL;
|
| }
|
|
|
| -PP_Module TestGlobals::GetModuleForInstance(PP_Instance instance) {
|
| - return 0;
|
| -}
|
| +PP_Module TestGlobals::GetModuleForInstance(PP_Instance instance) { return 0; }
|
|
|
| -std::string TestGlobals::GetCmdLine() {
|
| - return std::string();
|
| -}
|
| +std::string TestGlobals::GetCmdLine() { return std::string(); }
|
|
|
| -void TestGlobals::PreCacheFontForFlash(const void* /* logfontw */) {
|
| -}
|
| +void TestGlobals::PreCacheFontForFlash(const void* /* logfontw */) {}
|
|
|
| void TestGlobals::LogWithSource(PP_Instance instance,
|
| PP_LogLevel level,
|
| const std::string& source,
|
| - const std::string& value) {
|
| -}
|
| + const std::string& value) {}
|
|
|
| void TestGlobals::BroadcastLogWithSource(PP_Module module,
|
| PP_LogLevel level,
|
| const std::string& source,
|
| - const std::string& value) {
|
| -}
|
| + const std::string& value) {}
|
|
|
| -MessageLoopShared* TestGlobals::GetCurrentMessageLoop() {
|
| - return NULL;
|
| -}
|
| +MessageLoopShared* TestGlobals::GetCurrentMessageLoop() { return NULL; }
|
|
|
| -base::TaskRunner* TestGlobals::GetFileTaskRunner() {
|
| - return NULL;
|
| -}
|
| +base::TaskRunner* TestGlobals::GetFileTaskRunner() { return NULL; }
|
|
|
| bool TestGlobals::IsHostGlobals() const {
|
| // Pretend to be the host-side, for code that expects one or the other.
|
|
|