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

Unified Diff: tests/PixelRefTest.cpp

Issue 1151573009: Revert of add asserts around results from requestLock (patchset #3 id:40001 of https://codereview.chromium.or… (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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
« no previous file with comments | « src/core/SkPixelRef.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/PixelRefTest.cpp
diff --git a/tests/PixelRefTest.cpp b/tests/PixelRefTest.cpp
index 30575ba8d50796f8c8efead686c98080b1ec24c3..e13d0e07e5476804ced4dfeccf8748c02e578339 100644
--- a/tests/PixelRefTest.cpp
+++ b/tests/PixelRefTest.cpp
@@ -1,21 +1,7 @@
-/*
- * Copyright 2015 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
#include "Test.h"
#include "SkMallocPixelRef.h"
#include "SkPixelRef.h"
-
-static void test_install(skiatest::Reporter* reporter) {
- SkImageInfo info = SkImageInfo::MakeN32Premul(0, 0);
- SkBitmap bm;
- // make sure we don't assert on an empty install
- bm.installPixels(info, NULL, 0);
-}
class TestListener : public SkPixelRef::GenIDChangeListener {
public:
@@ -57,6 +43,4 @@
REPORTER_ASSERT(r, 0 != pixelRef->getGenerationID());
pixelRef->addGenIDChangeListener(NULL);
pixelRef->notifyPixelsChanged();
-
- test_install(r);
}
« no previous file with comments | « src/core/SkPixelRef.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698