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

Unified Diff: Source/core/inspector/InspectorStyleSheet.cpp

Issue 220233007: Oilpan: Fix more uninitialized RawPtrs for the oilpan build. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorStyleSheet.cpp
diff --git a/Source/core/inspector/InspectorStyleSheet.cpp b/Source/core/inspector/InspectorStyleSheet.cpp
index 319523bf353cb06e8e64cc1f39f1a64a5c3982af..523360dee035157fad6e8a7b4ce4676bb66f7b92 100644
--- a/Source/core/inspector/InspectorStyleSheet.cpp
+++ b/Source/core/inspector/InspectorStyleSheet.cpp
@@ -859,7 +859,7 @@ void InspectorStyleSheetBase::fireStyleSheetChanged()
PassRefPtr<TypeBuilder::CSS::CSSStyle> InspectorStyleSheetBase::buildObjectForStyle(CSSStyleDeclaration* style)
{
- RefPtrWillBeRawPtr<CSSRuleSourceData> sourceData;
+ RefPtrWillBeRawPtr<CSSRuleSourceData> sourceData = nullptr;
if (ensureParsedDataReady())
sourceData = ruleSourceDataFor(style);
@@ -1137,7 +1137,7 @@ PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::Selector> > InspectorStyleSheet:
PassRefPtr<TypeBuilder::CSS::SelectorList> InspectorStyleSheet::buildObjectForSelectorList(CSSStyleRule* rule)
{
- RefPtrWillBeRawPtr<CSSRuleSourceData> sourceData;
+ RefPtrWillBeRawPtr<CSSRuleSourceData> sourceData = nullptr;
if (ensureParsedDataReady())
sourceData = ruleSourceDataFor(rule->style());
RefPtr<TypeBuilder::Array<TypeBuilder::CSS::Selector> > selectors;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698