summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/tools/test_shell/mock_webclipboard_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/mock_webclipboard_impl.cc b/webkit/tools/test_shell/mock_webclipboard_impl.cc
index 934ebac..4f67c707 100644
--- a/webkit/tools/test_shell/mock_webclipboard_impl.cc
+++ b/webkit/tools/test_shell/mock_webclipboard_impl.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -37,10 +37,10 @@ MockWebClipboardImpl::~MockWebClipboardImpl() {
bool MockWebClipboardImpl::isFormatAvailable(Format format, Buffer buffer) {
switch (format) {
case FormatPlainText:
- return !m_plainText.isEmpty();
+ return !m_plainText.isNull();
case FormatHTML:
- return !m_htmlText.isEmpty();
+ return !m_htmlText.isNull();
case FormatSmartPaste:
return m_writeSmartPaste;