Index: third_party/WebKit/Source/devtools/front_end/object_ui/CustomPreviewComponent.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/object_ui/CustomPreviewComponent.js b/third_party/WebKit/Source/devtools/front_end/object_ui/CustomPreviewComponent.js |
index 22bc62dd11645c5f4a48356f4ea82356a1f150b1..d8c31e383c929b55895fdaa845fbb6b253dc3415 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/object_ui/CustomPreviewComponent.js |
+++ b/third_party/WebKit/Source/devtools/front_end/object_ui/CustomPreviewComponent.js |
@@ -90,7 +90,7 @@ ObjectUI.CustomPreviewSection = class { |
_layoutObjectTag(objectTag) { |
objectTag.shift(); |
var attributes = objectTag.shift(); |
- var remoteObject = this._object.target().runtimeModel.createRemoteObject( |
+ var remoteObject = this._object.runtimeModel().createRemoteObject( |
/** @type {!Protocol.Runtime.RemoteObject} */ (attributes)); |
if (remoteObject.customPreview()) |
return (new ObjectUI.CustomPreviewSection(remoteObject)).element(); |