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

Unified Diff: Source/core/css/CSSImageValue.cpp

Issue 717933002: Clean up after getPropertyCSSValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase / fix debug compile? Created 6 years, 1 month 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
« no previous file with comments | « Source/core/css/CSSImageValue.h ('k') | Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSImageValue.cpp
diff --git a/Source/core/css/CSSImageValue.cpp b/Source/core/css/CSSImageValue.cpp
index d4d505b24ea6db393150fef34614f430f4732fa6..4e9fda7c933dc2bf25efa4784e4c969d20fe6d6d 100644
--- a/Source/core/css/CSSImageValue.cpp
+++ b/Source/core/css/CSSImageValue.cpp
@@ -109,14 +109,6 @@ String CSSImageValue::customCSSText() const
return "url(" + quoteCSSURLIfNeeded(m_absoluteURL) + ")";
}
-PassRefPtrWillBeRawPtr<CSSValue> CSSImageValue::cloneForCSSOM() const
-{
- // NOTE: We expose CSSImageValues as URI primitive values in CSSOM to maintain old behavior.
- RefPtrWillBeRawPtr<CSSPrimitiveValue> uriValue = CSSPrimitiveValue::create(m_absoluteURL, CSSPrimitiveValue::CSS_URI);
- uriValue->setCSSOMSafe();
- return uriValue.release();
-}
-
bool CSSImageValue::knownToBeOpaque(const RenderObject* renderer) const
{
return m_image ? m_image->knownToBeOpaque(renderer) : false;
« no previous file with comments | « Source/core/css/CSSImageValue.h ('k') | Source/core/css/CSSPrimitiveValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698