| Index: native_client_sdk/src/libraries/gtest_ppapi/gtest_module.cc
|
| diff --git a/native_client_sdk/src/libraries/gtest_ppapi/gtest_module.cc b/native_client_sdk/src/libraries/gtest_ppapi/gtest_module.cc
|
| index 5affc916ab0433e3d0c246f9bf8e9ec002da373e..bda434cb7a0f713d95774449aa1979d59ae6464d 100644
|
| --- a/native_client_sdk/src/libraries/gtest_ppapi/gtest_module.cc
|
| +++ b/native_client_sdk/src/libraries/gtest_ppapi/gtest_module.cc
|
| @@ -1,25 +1,9 @@
|
| // Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| +#include "gtest_ppapi/gtest_module.h"
|
| #include "gtest_ppapi/gtest_instance.h"
|
| -#include "ppapi/cpp/module.h"
|
|
|
| -// GTestModule is a NaCl module dedicated to running gtest-based unit tests.
|
| -// It creates an NaCl instance based on GTestInstance.
|
| -class GTestModule : public pp::Module {
|
| - public:
|
| - GTestModule() : pp::Module() {}
|
| - ~GTestModule() {}
|
| -
|
| - virtual pp::Instance* CreateInstance(PP_Instance instance) {
|
| - return new GTestInstance(instance);
|
| - }
|
| -};
|
| -
|
| -namespace pp {
|
| -
|
| -Module* CreateModule() {
|
| - return new GTestModule();
|
| +pp::Instance* GTestModule::CreateInstance(PP_Instance instance) {
|
| + return new GTestInstance(instance);
|
| }
|
| -
|
| -} // namespace pp
|
|
|