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

Unified Diff: content/shell/renderer/test_runner/web_test_proxy.cc

Issue 597773002: Remove incorrect isAcceleratedCompositingActive check (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/web_test_proxy.cc
diff --git a/content/shell/renderer/test_runner/web_test_proxy.cc b/content/shell/renderer/test_runner/web_test_proxy.cc
index 0aa1ee35293e10f60182ae3fbeb59bf3ba8e588f..849842ce624f20aba4d2dff2149e2a5aad92c012 100644
--- a/content/shell/renderer/test_runner/web_test_proxy.cc
+++ b/content/shell/renderer/test_runner/web_test_proxy.cc
@@ -491,7 +491,6 @@ void WebTestProxyBase::CopyImageAtAndCapturePixels(
// isAcceleratedCompositingActive will return false;
AnimateNow();
danakj 2014/09/24 14:27:38 Can you also remove all these AnimateNow()s that w
enne (OOO) 2014/09/24 16:44:55 I talked to loislo about this and am going to cons
- DCHECK(web_widget_->isAcceleratedCompositingActive());
DCHECK(!callback.is_null());
uint64_t sequence_number = blink::Platform::current()->clipboard()->
sequenceNumber(blink::WebClipboard::Buffer());
@@ -576,7 +575,6 @@ void WebTestProxyBase::CapturePixelsAsync(
// isAcceleratedCompositingActive will return false;
AnimateNow();
- DCHECK(web_widget_->isAcceleratedCompositingActive());
DCHECK(!callback.is_null());
if (test_interfaces_->GetTestRunner()->isPrinting()) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698