| Index: third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js b/third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js
|
| index cd0c0c92fc66bc389bcbbe496b6df3ac51b0ad38..960c9e1bd90c07cb65ecf57d79e7741bb3d68562 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js
|
| @@ -153,7 +153,7 @@ Components.DOMPresentationUtils.linkifyDeferredNodeReference = function(deferred
|
| */
|
| Components.DOMPresentationUtils.buildImagePreviewContents = function(
|
| target, originalImageURL, showDimensions, precomputedFeatures) {
|
| - var resourceTreeModel = SDK.ResourceTreeModel.fromTarget(target);
|
| + var resourceTreeModel = target.model(SDK.ResourceTreeModel);
|
| if (!resourceTreeModel)
|
| return Promise.resolve(/** @type {?Element} */ (null));
|
| var resource = resourceTreeModel.resourceForURL(originalImageURL);
|
|
|