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

Unified Diff: Source/WebCore/testing/Internals.cpp

Issue 13665002: Fold ScrollingCoordinatorChromium into ScrollingCoordinator and devirtualize (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 9 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: Source/WebCore/testing/Internals.cpp
diff --git a/Source/WebCore/testing/Internals.cpp b/Source/WebCore/testing/Internals.cpp
index 8dd36d6352ec0ad75674c9d89898d1f30ca7bbc7..2bd2c2ac3b616f10df3e27f561dded49d5839ee0 100644
--- a/Source/WebCore/testing/Internals.cpp
+++ b/Source/WebCore/testing/Internals.cpp
@@ -1693,16 +1693,7 @@ String Internals::repaintRectsAsText(Document* document, ExceptionCode& ec) cons
String Internals::scrollingStateTreeAsText(Document* document, ExceptionCode& ec) const
{
- if (!document || !document->frame()) {
- ec = INVALID_ACCESS_ERR;
- return String();
- }
-
- Page* page = document->page();
- if (!page)
- return String();
-
- return page->scrollingStateTreeAsText();
+ return String();
}
String Internals::mainThreadScrollingReasons(Document* document, ExceptionCode& ec) const

Powered by Google App Engine
This is Rietveld 408576698