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

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

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Only disable the malloc part of consistency checking Created 7 years, 4 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: Source/core/inspector/InspectorStyleSheet.cpp
diff --git a/Source/core/inspector/InspectorStyleSheet.cpp b/Source/core/inspector/InspectorStyleSheet.cpp
index a77fce146be9ff6036bce3cfec5971eb9beb263f..6aa5a916a01847617e4111d473ae4181c3ae0791 100644
--- a/Source/core/inspector/InspectorStyleSheet.cpp
+++ b/Source/core/inspector/InspectorStyleSheet.cpp
@@ -64,7 +64,6 @@
#include <wtf/Vector.h>
using WebCore::CSSRuleSourceData;
-using WebCore::Handle;
using WebCore::Member;
using WebCore::Result;
using WebCore::RuleSourceDataVectorCollection;
@@ -109,7 +108,7 @@ void ParsedStyleSheet::setText(const String& text)
static void flattenSourceData(Vector<Member<CSSRuleSourceData> >& dataList, Vector<Member<CSSRuleSourceData> >& target)
{
for (size_t i = 0; i < dataList.size(); ++i) {
- Handle<CSSRuleSourceData> data = dataList.at(i);
+ WebCore::Handle<CSSRuleSourceData> data = dataList.at(i);
haraken 2013/08/23 11:12:49 Nit: I'm curious why this change is needed. It loo
Mads Ager (chromium) 2013/08/23 11:15:36 I agree. I'll add a FIXME(oilpan) about this. The
haraken 2013/08/23 11:18:52 Makes sense.
if (data->type == CSSRuleSourceData::STYLE_RULE)
target.append(data);
else if (data->type == CSSRuleSourceData::MEDIA_RULE)

Powered by Google App Engine
This is Rietveld 408576698