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

Unified Diff: content/shell/renderer/test_runner/WebFrameTestProxy.h

Issue 123243002: Replace WebNonCopyable with DISALLOW_COPY_AND_ASSIGN in test runner library (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 6 years, 12 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: content/shell/renderer/test_runner/WebFrameTestProxy.h
diff --git a/content/shell/renderer/test_runner/WebFrameTestProxy.h b/content/shell/renderer/test_runner/WebFrameTestProxy.h
index 400d2bbff31db20e20c20d85252d6a67f51207c5..03f2d7d1d24f2f1a59d2c21ba36ea4d749514a84 100644
--- a/content/shell/renderer/test_runner/WebFrameTestProxy.h
+++ b/content/shell/renderer/test_runner/WebFrameTestProxy.h
@@ -5,15 +5,15 @@
#ifndef WebFrameTestProxy_h
#define WebFrameTestProxy_h
+#include "base/basictypes.h"
#include "content/shell/renderer/test_runner/WebTestProxy.h"
-#include "third_party/WebKit/public/platform/WebNonCopyable.h"
namespace WebTestRunner {
// Templetized wrapper around RenderFrameImpl objects, which implement
// the WebFrameClient interface.
template<class Base, typename P, typename R>
-class WebFrameTestProxy : public Base, public blink::WebNonCopyable {
+class WebFrameTestProxy : public Base {
public:
WebFrameTestProxy(P p, R r)
: Base(p, r)
@@ -147,6 +147,8 @@ private:
// It is used instead of a #define and is set by layouttest_support when
// creating this object.
int m_version;
+
+ DISALLOW_COPY_AND_ASSIGN(WebFrameTestProxy);
};
}
« no previous file with comments | « content/shell/renderer/test_runner/TestPlugin.h ('k') | content/shell/renderer/test_runner/WebPermissions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698