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

Unified Diff: content/shell/renderer/layout_test/blink_test_runner.cc

Issue 1142113002: Remove SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 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
Index: content/shell/renderer/layout_test/blink_test_runner.cc
diff --git a/content/shell/renderer/layout_test/blink_test_runner.cc b/content/shell/renderer/layout_test/blink_test_runner.cc
index 06b6fee14e51009b6ce8e4b630e119f8a2e6c4e9..905eb5ff4116f096bb3c3ae8732aa553f25c4783 100644
--- a/content/shell/renderer/layout_test/blink_test_runner.cc
+++ b/content/shell/renderer/layout_test/blink_test_runner.cc
@@ -757,8 +757,8 @@ void BlinkTestRunner::CaptureDump() {
}
void BlinkTestRunner::CaptureDumpPixels(const SkBitmap& snapshot) {
- DCHECK_NE(0, snapshot.info().fWidth);
- DCHECK_NE(0, snapshot.info().fHeight);
+ DCHECK_NE(0, snapshot.info().width());
+ DCHECK_NE(0, snapshot.info().height());
SkAutoLockPixels snapshot_lock(snapshot);
// The snapshot arrives from the GPU process via shared memory. Because MSan
« no previous file with comments | « chrome/browser/android/thumbnail/thumbnail_cache.cc ('k') | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698