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

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

Issue 289873002: Remove isCompositorFramePending plumbing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Expectations for virtual suite Created 6 years, 7 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
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index ad01f3807c8729819291c85a6d27a28c9316c741..c196d0836e58614d16e4a655fcb73b550423b881 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -2259,16 +2259,6 @@ void Internals::forceCompositingUpdate(Document* document, ExceptionState& excep
document->frame()->view()->updateLayoutAndStyleForPainting();
}
-bool Internals::isCompositorFramePending(Document* document, ExceptionState& exceptionState)
-{
- if (!document || !document->renderView()) {
- exceptionState.throwDOMException(InvalidAccessError, document ? "The document's render view cannot be retrieved." : "The document provided is invalid.");
- return false;
- }
-
- return document->page()->chrome().client().isCompositorFramePending();
-}
-
void Internals::setZoomFactor(float factor)
{
frame()->setPageZoomFactor(factor);
« no previous file with comments | « Source/core/testing/Internals.h ('k') | Source/core/testing/Internals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698