| Index: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
|
| index ccda7dfd8fa46bdbb7fa4a54a13910bc56b3381d..e62a80b6c829faf10a2b816075337d054f7ffb60 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
|
| @@ -1099,7 +1099,7 @@ static bool verifyRangeComponent(ErrorString* errorString, bool valid, const Str
|
| return valid;
|
| }
|
|
|
| -static bool jsonRangeToSourceRange(ErrorString* errorString, InspectorStyleSheetBase* inspectorStyleSheet, protocol::CSS::SourceRange* range, SourceRange* sourceRange)
|
| +static bool jsonRangeToSourceRange(ErrorString* errorString, InspectorStyleSheetBase* inspectorStyleSheet, protocol::Runtime::SourceRange* range, SourceRange* sourceRange)
|
| {
|
| if (!verifyRangeComponent(errorString, range->getStartLine() >= 0, "startLine")
|
| || !verifyRangeComponent(errorString, range->getStartColumn() >= 0, "startColumn")
|
| @@ -1125,7 +1125,7 @@ static bool jsonRangeToSourceRange(ErrorString* errorString, InspectorStyleSheet
|
| return true;
|
| }
|
|
|
| -void InspectorCSSAgent::setRuleSelector(ErrorString* errorString, const String& styleSheetId, PassOwnPtr<protocol::CSS::SourceRange> range, const String& selector, OwnPtr<protocol::CSS::SelectorList>* result)
|
| +void InspectorCSSAgent::setRuleSelector(ErrorString* errorString, const String& styleSheetId, PassOwnPtr<protocol::Runtime::SourceRange> range, const String& selector, OwnPtr<protocol::CSS::SelectorList>* result)
|
| {
|
| FrontendOperationScope scope;
|
| InspectorStyleSheet* inspectorStyleSheet = assertInspectorStyleSheetForId(errorString, styleSheetId);
|
| @@ -1152,7 +1152,7 @@ void InspectorCSSAgent::setRuleSelector(ErrorString* errorString, const String&
|
| *errorString = InspectorDOMAgent::toErrorString(exceptionState);
|
| }
|
|
|
| -void InspectorCSSAgent::setKeyframeKey(ErrorString* errorString, const String& styleSheetId, PassOwnPtr<protocol::CSS::SourceRange> range, const String& keyText, OwnPtr<protocol::CSS::Value>* result)
|
| +void InspectorCSSAgent::setKeyframeKey(ErrorString* errorString, const String& styleSheetId, PassOwnPtr<protocol::Runtime::SourceRange> range, const String& keyText, OwnPtr<protocol::CSS::Value>* result)
|
| {
|
| FrontendOperationScope scope;
|
| InspectorStyleSheet* inspectorStyleSheet = assertInspectorStyleSheetForId(errorString, styleSheetId);
|
| @@ -1275,7 +1275,7 @@ CSSStyleDeclaration* InspectorCSSAgent::setStyleText(ErrorString* errorString, I
|
| return nullptr;
|
| }
|
|
|
| -void InspectorCSSAgent::setMediaText(ErrorString* errorString, const String& styleSheetId, PassOwnPtr<protocol::CSS::SourceRange> range, const String& text, OwnPtr<protocol::CSS::CSSMedia>* result)
|
| +void InspectorCSSAgent::setMediaText(ErrorString* errorString, const String& styleSheetId, PassOwnPtr<protocol::Runtime::SourceRange> range, const String& text, OwnPtr<protocol::CSS::CSSMedia>* result)
|
| {
|
| FrontendOperationScope scope;
|
| InspectorStyleSheet* inspectorStyleSheet = assertInspectorStyleSheetForId(errorString, styleSheetId);
|
| @@ -1325,7 +1325,7 @@ void InspectorCSSAgent::createStyleSheet(ErrorString* errorString, const String&
|
| *outStyleSheetId = inspectorStyleSheet->id();
|
| }
|
|
|
| -void InspectorCSSAgent::addRule(ErrorString* errorString, const String& styleSheetId, const String& ruleText, PassOwnPtr<protocol::CSS::SourceRange> location, OwnPtr<protocol::CSS::CSSRule>* result)
|
| +void InspectorCSSAgent::addRule(ErrorString* errorString, const String& styleSheetId, const String& ruleText, PassOwnPtr<protocol::Runtime::SourceRange> location, OwnPtr<protocol::CSS::CSSRule>* result)
|
| {
|
| FrontendOperationScope scope;
|
| InspectorStyleSheet* inspectorStyleSheet = assertInspectorStyleSheetForId(errorString, styleSheetId);
|
|
|