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

Side by Side Diff: sky/engine/core/css/CSSImageValue.cpp

Issue 723253004: Remove tons of OILPAN. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « sky/engine/core/css/CSSImageValue.h ('k') | sky/engine/core/css/CSSInheritedValue.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 RefPtr<CSSPrimitiveValue> uriValue = CSSPrimitiveValue::create(m_absoluteURL , CSSPrimitiveValue::CSS_URI); 110 RefPtr<CSSPrimitiveValue> uriValue = CSSPrimitiveValue::create(m_absoluteURL , CSSPrimitiveValue::CSS_URI);
111 uriValue->setCSSOMSafe(); 111 uriValue->setCSSOMSafe();
112 return uriValue.release(); 112 return uriValue.release();
113 } 113 }
114 114
115 bool CSSImageValue::knownToBeOpaque(const RenderObject* renderer) const 115 bool CSSImageValue::knownToBeOpaque(const RenderObject* renderer) const
116 { 116 {
117 return m_image ? m_image->knownToBeOpaque(renderer) : false; 117 return m_image ? m_image->knownToBeOpaque(renderer) : false;
118 } 118 }
119 119
120 void CSSImageValue::traceAfterDispatch(Visitor* visitor)
121 {
122 CSSValue::traceAfterDispatch(visitor);
123 }
124
125 void CSSImageValue::reResolveURL(const Document& document) 120 void CSSImageValue::reResolveURL(const Document& document)
126 { 121 {
127 KURL url = document.completeURL(m_relativeURL); 122 KURL url = document.completeURL(m_relativeURL);
128 if (url == m_absoluteURL) 123 if (url == m_absoluteURL)
129 return; 124 return;
130 m_absoluteURL = url.string(); 125 m_absoluteURL = url.string();
131 m_accessedImage = false; 126 m_accessedImage = false;
132 m_image.clear(); 127 m_image.clear();
133 } 128 }
134 129
135 } // namespace blink 130 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/css/CSSImageValue.h ('k') | sky/engine/core/css/CSSInheritedValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698