Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // copyright 2016 the chromium authors. all rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "core/css/cssom/StylePropertyMap.h" | |
| 6 | |
| 7 #include "bindings/core/v8/ExceptionState.h" | |
| 8 #include "core/css/cssom/SimpleLength.h" | |
| 9 #include "core/css/cssom/StyleValue.h" | |
| 10 | |
| 11 namespace blink { | |
| 12 | |
| 13 StyleValue* StylePropertyMap::get(const String& propertyName) | |
|
Timothy Loh
2016/01/18 03:47:23
Do these need to be virtual?
meade_UTC10
2016/01/19 00:15:19
I don't think so - The idea is that the CSSPropert
Timothy Loh
2016/01/19 05:30:46
Latest patch seems fine for this.
| |
| 14 { | |
| 15 return get(cssPropertyID(propertyName)); | |
| 16 } | |
| 17 | |
| 18 void StylePropertyMap::set(const String& propertyName, StyleValueOrStyleValueSeq uenceOrString& item, ExceptionState& exceptionState) | |
| 19 { | |
| 20 return set(cssPropertyID(propertyName), item, exceptionState); | |
| 21 } | |
| 22 | |
| 23 } // namespace blink | |
| OLD | NEW |