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

Unified Diff: third_party/WebKit/Source/core/frame/FrameSerializer.cpp

Issue 2410693002: Add a few more edge cases to CSS serialization test. (Closed)
Patch Set: Adds image link to data URL CSS contents. Created 4 years, 2 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 | third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameSerializer.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameSerializer.cpp b/third_party/WebKit/Source/core/frame/FrameSerializer.cpp
index fb3e8184bf2ee03f678319e2aab2f2a178f489bb..19b8f1b621a0c5cd81b4ad4a5cd83ed4c9f3f80b 100644
--- a/third_party/WebKit/Source/core/frame/FrameSerializer.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameSerializer.cpp
@@ -411,8 +411,6 @@ void FrameSerializer::serializeCSSRule(CSSRule* rule) {
KURL sheetBaseURL = rule->parentStyleSheet()->baseURL();
ASSERT(sheetBaseURL.isValid());
KURL importURL = KURL(sheetBaseURL, importRule->href());
- if (m_resourceURLs.contains(importURL))
- break;
if (importRule->styleSheet())
serializeCSSStyleSheet(*importRule->styleSheet(), importURL);
break;
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/tests/FrameSerializerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698