diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-08 21:04:26 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-08 21:04:26 +0000 |
commit | d63a3b08af56948078bf9451343f04d33b7ea025 (patch) | |
tree | 8e5b453fbdb1f3e8866523077cc0cc8f0b903487 /content | |
parent | 8c80fabd2a3b37cc0e0dff2f06d248f849d5076e (diff) | |
download | chromium_src-d63a3b08af56948078bf9451343f04d33b7ea025.zip chromium_src-d63a3b08af56948078bf9451343f04d33b7ea025.tar.gz chromium_src-d63a3b08af56948078bf9451343f04d33b7ea025.tar.bz2 |
Prune out some unused methods of webkit_glue.
R=jamesr@chromium.org
Review URL: https://codereview.chromium.org/14614004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198998 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/renderer/cpp_bound_class_unittest.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/content/renderer/cpp_bound_class_unittest.cc b/content/renderer/cpp_bound_class_unittest.cc index df2cd22..cf1ad9e 100644 --- a/content/renderer/cpp_bound_class_unittest.cc +++ b/content/renderer/cpp_bound_class_unittest.cc @@ -10,8 +10,9 @@ #include "content/public/renderer/render_view_observer.h" #include "content/public/test/render_view_test.h" #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" +#include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" +#include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" #include "webkit/glue/cpp_binding_example.h" -#include "webkit/glue/webkit_glue.h" using webkit_glue::CppArgumentList; using webkit_glue::CppBindingExample; @@ -87,7 +88,9 @@ class CppBoundClassTest : public RenderViewTest { // text is empty. void CheckJavaScriptFailure(const std::string& javascript) { ExecuteJavaScript(javascript.c_str()); - EXPECT_EQ("", UTF16ToASCII(webkit_glue::DumpDocumentText(GetMainFrame()))); + EXPECT_EQ( + "", + UTF16ToASCII(GetMainFrame()->document().documentElement().innerText())); } void CheckTrue(const std::string& expression) { |