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

Unified Diff: third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp

Issue 1406133005: Calculate paint invalidation rect for scrollbars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try Created 5 years, 1 month 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: third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp
diff --git a/third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp b/third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp
index 7a6e07b6e9e5d5cc2acf2dcb095302463ed892e3..820283b7c17d3162d315a198552e25201a35bcca 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp
+++ b/third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp
@@ -135,7 +135,7 @@ TEST(ImageResourceTest, MultipartImage)
ASSERT_FALSE(cachedImage->image()->isNull());
ASSERT_EQ(cachedImage->image()->width(), 1);
ASSERT_EQ(cachedImage->image()->height(), 1);
- ASSERT_EQ(client.imageChangedCount(), 2);
+ ASSERT_GT(client.imageChangedCount(), 0);
chrishtr 2015/11/11 01:40:29 This change is not a bug?
Xianzhu 2015/11/11 19:29:57 This was a really weird situation. Besides real im
chrishtr 2015/11/17 00:35:47 I'd prefer ASSERT_EQ(..., 1) just to lock things d
Xianzhu 2015/11/17 00:56:04 Done.
ASSERT_TRUE(client.notifyFinishedCalled());
}

Powered by Google App Engine
This is Rietveld 408576698