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

Unified Diff: Source/core/page/PageSerializer.h

Issue 332573003: Add missing null check in PageSerializer::serializeCSSStyleSheet() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Source/core/page/PageSerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/PageSerializer.h
diff --git a/Source/core/page/PageSerializer.h b/Source/core/page/PageSerializer.h
index 6c390d569b7f130398628d87a0c17b629021c34d..866a182baf42967f72f6a0d87866fcf52fdd30a7 100644
--- a/Source/core/page/PageSerializer.h
+++ b/Source/core/page/PageSerializer.h
@@ -73,7 +73,7 @@ private:
// Serializes the stylesheet back to text and adds it to the resources if URL is not-empty.
// It also adds any resources included in that stylesheet (including any imported stylesheets and their own resources).
- void serializeCSSStyleSheet(CSSStyleSheet*, const KURL&);
+ void serializeCSSStyleSheet(CSSStyleSheet&, const KURL&);
bool shouldAddURL(const KURL&);
« no previous file with comments | « no previous file | Source/core/page/PageSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698