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

Unified Diff: webkit/plugins/ppapi/mock_resource.h

Issue 7669055: Remove webkit::ppapi::Resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix self-assignment Created 9 years, 4 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
Index: webkit/plugins/ppapi/mock_resource.h
diff --git a/webkit/plugins/ppapi/mock_resource.h b/webkit/plugins/ppapi/mock_resource.h
index 1368c4a7c2bcd7228a38673a6ba9ad273294e824..9302885eab82bd470d8e7625e355f54083ed02fe 100644
--- a/webkit/plugins/ppapi/mock_resource.h
+++ b/webkit/plugins/ppapi/mock_resource.h
@@ -5,7 +5,7 @@
#ifndef WEBKIT_PLUGINS_PPAPI_MOCK_RESOURCE_H_
#define WEBKIT_PLUGINS_PPAPI_MOCK_RESOURCE_H_
-#include "webkit/plugins/ppapi/resource.h"
+#include "ppapi/shared_impl/resource.h"
namespace webkit {
namespace ppapi {
@@ -13,9 +13,9 @@ namespace ppapi {
// Tests can derive from this to implement special test-specific resources.
// It's assumed that a test will only need one mock resource, so it can
// static_cast to get its own implementation.
-class MockResource : public Resource {
+class MockResource : public ::ppapi::Resource {
public:
- MockResource(PluginInstance* instance) : Resource(instance) {}
+ MockResource(PP_Instance instance) : Resource(instance) {}
virtual ~MockResource() {}
};

Powered by Google App Engine
This is Rietveld 408576698