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

Unified Diff: third_party/WebKit/Source/core/css/StyleSheetContents.cpp

Issue 1782473002: Check if stylesheet resource was cached before marking it as such. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix non-oilpan compilation Created 4 years, 9 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: third_party/WebKit/Source/core/css/StyleSheetContents.cpp
diff --git a/third_party/WebKit/Source/core/css/StyleSheetContents.cpp b/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
index e76b0389a8860a92e2b27846d8ffca60cb2cf4b3..0b89df745cb2202291cb7fc192200e95f0a2a7dc 100644
--- a/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
+++ b/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
@@ -579,7 +579,6 @@ void StyleSheetContents::addedToMemoryCache()
void StyleSheetContents::removedFromMemoryCache()
{
- ASSERT(m_isInMemoryCache);
ASSERT(isCacheable());
m_isInMemoryCache = false;
}

Powered by Google App Engine
This is Rietveld 408576698