| Index: third_party/WebKit/Source/bindings/tests/results/core/BooleanOrStringOrUnrestrictedDouble.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/BooleanOrStringOrUnrestrictedDouble.cpp b/third_party/WebKit/Source/bindings/tests/results/core/BooleanOrStringOrUnrestrictedDouble.cpp
|
| index 55011a0ee2c5b1f791ec8f74b5087da073dd97fd..2ce2e2a8d654471b4980ccb4d2168504db6a2efb 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/BooleanOrStringOrUnrestrictedDouble.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/BooleanOrStringOrUnrestrictedDouble.cpp
|
| @@ -36,18 +36,18 @@ BooleanOrStringOrUnrestrictedDouble BooleanOrStringOrUnrestrictedDouble::fromBoo
|
| return container;
|
| }
|
|
|
| -String BooleanOrStringOrUnrestrictedDouble::getAsString() const {
|
| +const String& BooleanOrStringOrUnrestrictedDouble::getAsString() const {
|
| DCHECK(isString());
|
| return m_string;
|
| }
|
|
|
| -void BooleanOrStringOrUnrestrictedDouble::setString(String value) {
|
| +void BooleanOrStringOrUnrestrictedDouble::setString(const String& value) {
|
| DCHECK(isNull());
|
| m_string = value;
|
| m_type = SpecificTypeString;
|
| }
|
|
|
| -BooleanOrStringOrUnrestrictedDouble BooleanOrStringOrUnrestrictedDouble::fromString(String value) {
|
| +BooleanOrStringOrUnrestrictedDouble BooleanOrStringOrUnrestrictedDouble::fromString(const String& value) {
|
| BooleanOrStringOrUnrestrictedDouble container;
|
| container.setString(value);
|
| return container;
|
|
|