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

Unified Diff: third_party/WebKit/Source/core/inspector/LayoutEditor.h

Issue 2046463003: Resubmission of sashab's patch: Make CSSComputedStyledeclaration::getPropertyCSSValue return const (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing const Created 4 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
Index: third_party/WebKit/Source/core/inspector/LayoutEditor.h
diff --git a/third_party/WebKit/Source/core/inspector/LayoutEditor.h b/third_party/WebKit/Source/core/inspector/LayoutEditor.h
index f4bb4c6b1f3f9272d53195a6a6ec6ca53a17a7ea..d93f7da17e78e17f86ddebc0c6350bc071902874 100644
--- a/third_party/WebKit/Source/core/inspector/LayoutEditor.h
+++ b/third_party/WebKit/Source/core/inspector/LayoutEditor.h
@@ -45,14 +45,14 @@ public:
private:
LayoutEditor(Element*, InspectorCSSAgent*, InspectorDOMAgent*, ScriptController*);
- CSSPrimitiveValue* getPropertyCSSValue(CSSPropertyID) const;
+ const CSSPrimitiveValue* getPropertyCSSValue(CSSPropertyID) const;
std::unique_ptr<protocol::DictionaryValue> createValueDescription(const String&);
void appendAnchorFor(protocol::ListValue*, const String&, const String&);
bool setCSSPropertyValueInCurrentRule(const String&);
void editableSelectorUpdated(bool hasChanged) const;
void evaluateInOverlay(const String&, std::unique_ptr<protocol::Value>) const;
std::unique_ptr<protocol::DictionaryValue> currentSelectorInfo(CSSStyleDeclaration*) const;
- bool growInside(String propertyName, CSSPrimitiveValue*);
+ bool growInside(String propertyName, const CSSPrimitiveValue*);
Member<Element> m_element;
Member<InspectorCSSAgent> m_cssAgent;

Powered by Google App Engine
This is Rietveld 408576698