| Index: third_party/WebKit/Source/core/html/parser/HTMLSrcsetParser.h
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLSrcsetParser.h b/third_party/WebKit/Source/core/html/parser/HTMLSrcsetParser.h
|
| index e12447f7a5fc8b2faf574eae871883d85e637e4a..16492ee1c58b5f9af60161b893e3b278a74e4150 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLSrcsetParser.h
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLSrcsetParser.h
|
| @@ -57,7 +57,7 @@ public:
|
| bool hasHeight() const { return m_resourceHeight >= 0; }
|
|
|
| float density() const { ASSERT(hasDensity()); return m_density; }
|
| - unsigned resourceWidth() const { ASSERT(hasWidth()); return m_resourceWidth; }
|
| + unsigned getResourceWidth() const { ASSERT(hasWidth()); return m_resourceWidth; }
|
| unsigned resourceHeight() const { ASSERT(hasHeight()); return m_resourceHeight; }
|
|
|
| void setResourceWidth(int width) { ASSERT(width >= 0); m_resourceWidth = (unsigned)width; }
|
| @@ -88,7 +88,7 @@ public:
|
| ImageCandidate(const String& source, unsigned start, unsigned length, const DescriptorParsingResult& result, OriginAttribute originAttribute)
|
| : m_string(source.createView(start, length))
|
| , m_density(result.hasDensity()?result.density():UninitializedDescriptor)
|
| - , m_resourceWidth(result.hasWidth()?result.resourceWidth():UninitializedDescriptor)
|
| + , m_resourceWidth(result.hasWidth()?result.getResourceWidth():UninitializedDescriptor)
|
| , m_originAttribute(originAttribute)
|
| {
|
| }
|
| @@ -113,7 +113,7 @@ public:
|
| return m_density;
|
| }
|
|
|
| - int resourceWidth() const
|
| + int getResourceWidth() const
|
| {
|
| return m_resourceWidth;
|
| }
|
|
|