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

Unified Diff: o3d/gpu_plugin/gpu_plugin_object_unittest.cc

Issue 196032: Replaced BaseNPObject with DefaultNPObject because...... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months 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 | « o3d/gpu_plugin/gpu_plugin_object_factory.cc ('k') | o3d/gpu_plugin/gpu_plugin_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: o3d/gpu_plugin/gpu_plugin_object_unittest.cc
===================================================================
--- o3d/gpu_plugin/gpu_plugin_object_unittest.cc (revision 25348)
+++ o3d/gpu_plugin/gpu_plugin_object_unittest.cc (working copy)
@@ -4,8 +4,8 @@
#include "o3d/gpu_plugin/command_buffer_mock.h"
#include "o3d/gpu_plugin/gpu_plugin_object.h"
-#include "o3d/gpu_plugin/np_utils/base_np_object_mock.h"
#include "o3d/gpu_plugin/np_utils/np_browser_mock.h"
+#include "o3d/gpu_plugin/np_utils/np_object_mock.h"
#include "o3d/gpu_plugin/np_utils/np_object_pointer.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -107,7 +107,7 @@
NPObjectPointer<MockCommandBuffer> command_buffer_object =
NPCreateObject<StrictMock<MockCommandBuffer> >(NULL);
EXPECT_CALL(mock_browser_, CreateObject(NULL,
- BaseNPObject::GetNPClass<CommandBuffer>()))
+ NPGetClass<CommandBuffer>()))
.WillOnce(Return(command_buffer_object.ToReturned()));
EXPECT_CALL(*command_buffer_object.Get(), Initialize(1024))
@@ -132,7 +132,7 @@
NPObjectPointer<MockCommandBuffer> command_buffer_object =
NPCreateObject<StrictMock<MockCommandBuffer> >(NULL);
EXPECT_CALL(mock_browser_, CreateObject(NULL,
- BaseNPObject::GetNPClass<CommandBuffer>()))
+ NPGetClass<CommandBuffer>()))
.WillOnce(Return(command_buffer_object.ToReturned()));
EXPECT_CALL(*command_buffer_object.Get(), Initialize(1024))
« no previous file with comments | « o3d/gpu_plugin/gpu_plugin_object_factory.cc ('k') | o3d/gpu_plugin/gpu_plugin_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698