| Index: third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| index ae623aa5b06f2528997fc5596fae464094d7f11b..3c8690be6df88c30ecaba6d0d940a0c1e1731922 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
|
| @@ -252,7 +252,7 @@ void HTMLImageElement::setBestFitURLAndDPRFromImageCandidate(const ImageCandidat
|
| m_imageDevicePixelRatio = 1.0 / candidateDensity;
|
|
|
| bool intrinsicSizingViewportDependant = false;
|
| - if (candidate.resourceWidth() > 0) {
|
| + if (candidate.getResourceWidth() > 0) {
|
| intrinsicSizingViewportDependant = true;
|
| UseCounter::count(document(), UseCounter::SrcsetWDescriptor);
|
| } else if (!candidate.srcOrigin()) {
|
| @@ -671,7 +671,7 @@ static bool sourceSizeValue(Element& element, Document& currentDocument, float&
|
| return exists;
|
| }
|
|
|
| -FetchRequest::ResourceWidth HTMLImageElement::resourceWidth()
|
| +FetchRequest::ResourceWidth HTMLImageElement::getResourceWidth()
|
| {
|
| FetchRequest::ResourceWidth resourceWidth;
|
| Element* element = m_source.get();
|
|
|