Index: third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp |
diff --git a/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp b/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp |
index 9ba094387cfc2ccfb8e0b3f16fae2dd1a749ac28..f24c32f9776af475637763643b3eabf45495244b 100644 |
--- a/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp |
+++ b/third_party/WebKit/Source/core/dom/PresentationAttributeStyle.cpp |
@@ -173,7 +173,7 @@ RawPtr<StylePropertySet> computePresentationAttributeStyle(Element& element) |
cacheValue = nullptr; |
} |
- RawPtr<StylePropertySet> style = nullptr; |
+ StylePropertySet* style = nullptr; |
if (cacheHash && cacheValue->value) { |
style = cacheValue->value->value; |
cacheCleaner.didHitPresentationAttributeCache(); |
@@ -185,7 +185,7 @@ RawPtr<StylePropertySet> computePresentationAttributeStyle(Element& element) |
} |
if (!cacheHash || cacheValue->value) |
- return style.release(); |
+ return style; |
RawPtr<PresentationAttributeCacheEntry> newEntry = new PresentationAttributeCacheEntry; |
newEntry->key = cacheKey; |
@@ -201,7 +201,7 @@ RawPtr<StylePropertySet> computePresentationAttributeStyle(Element& element) |
cacheValue->value = newEntry.release(); |
} |
- return style.release(); |
+ return style; |
} |
} // namespace blink |