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

Unified Diff: content/shell/renderer/test_runner/MockSpellCheck.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/MockSpellCheck.h
diff --git a/content/shell/renderer/test_runner/MockSpellCheck.h b/content/shell/renderer/test_runner/MockSpellCheck.h
index ca86cdfb60d24cf64344bd81cbbfe6c101335b82..309bb70d9d726d5348d3898d964d1ed8fcb2ed2a 100644
--- a/content/shell/renderer/test_runner/MockSpellCheck.h
+++ b/content/shell/renderer/test_runner/MockSpellCheck.h
@@ -7,7 +7,7 @@
#include <vector>
-#include "third_party/WebKit/public/platform/WebNonCopyable.h"
+#include "base/basictypes.h"
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/platform/WebVector.h"
#include "third_party/WebKit/public/web/WebTextCheckingResult.h"
@@ -20,7 +20,7 @@ namespace WebTestRunner {
// words in webkit tests and mark them as missspelled.
// Even though this is sufficent for webkit tests, this class is not suitable
// for any other usages.
-class MockSpellCheck : public blink::WebNonCopyable {
+class MockSpellCheck {
public:
static void fillSuggestionList(const blink::WebString& word, blink::WebVector<blink::WebString>* suggestions);
@@ -60,6 +60,8 @@ private:
// A flag representing whether or not this object is initialized.
bool m_initialized;
+
+ DISALLOW_COPY_AND_ASSIGN(MockSpellCheck);
};
}
« no previous file with comments | « content/shell/renderer/test_runner/MockColorChooser.h ('k') | content/shell/renderer/test_runner/MockWebAudioDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698