summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-07 23:30:04 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-07 23:30:04 +0000
commitac7a304a42d62d0c7e26314ff7b6e799112c16f7 (patch)
treeb23195d9a2b6dd2e9bf9aa88b2af99eb446e2d1f /webkit/tools/test_shell
parenta791dac36af69836911993a40838b3dd48ec5ca8 (diff)
downloadchromium_src-ac7a304a42d62d0c7e26314ff7b6e799112c16f7.zip
chromium_src-ac7a304a42d62d0c7e26314ff7b6e799112c16f7.tar.gz
chromium_src-ac7a304a42d62d0c7e26314ff7b6e799112c16f7.tar.bz2
Fix clang build error.
The new WebImage member made clang consider MockWebClipboardImpl a complex class, so explicitly define a ctor/dtor in the .cc. BUG=none TEST=Compiles on clang. Review URL: http://codereview.chromium.org/6812034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80864 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell')
-rw-r--r--webkit/tools/test_shell/mock_webclipboard_impl.cc6
-rw-r--r--webkit/tools/test_shell/mock_webclipboard_impl.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/mock_webclipboard_impl.cc b/webkit/tools/test_shell/mock_webclipboard_impl.cc
index f7c19d9..72fd0c7 100644
--- a/webkit/tools/test_shell/mock_webclipboard_impl.cc
+++ b/webkit/tools/test_shell/mock_webclipboard_impl.cc
@@ -24,6 +24,12 @@ using WebKit::WebString;
using WebKit::WebURL;
using WebKit::WebVector;
+MockWebClipboardImpl::MockWebClipboardImpl() {
+}
+
+MockWebClipboardImpl::~MockWebClipboardImpl() {
+}
+
bool MockWebClipboardImpl::isFormatAvailable(Format format, Buffer buffer) {
switch (format) {
case FormatPlainText:
diff --git a/webkit/tools/test_shell/mock_webclipboard_impl.h b/webkit/tools/test_shell/mock_webclipboard_impl.h
index fa58109..1cfb877 100644
--- a/webkit/tools/test_shell/mock_webclipboard_impl.h
+++ b/webkit/tools/test_shell/mock_webclipboard_impl.h
@@ -15,6 +15,9 @@
class MockWebClipboardImpl : public WebKit::WebClipboard {
public:
+ MockWebClipboardImpl();
+ ~MockWebClipboardImpl();
+
virtual bool isFormatAvailable(WebKit::WebClipboard::Format,
WebKit::WebClipboard::Buffer);