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

Unified Diff: third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js

Issue 2450663004: DevTools: do not allow using 'this' before call into super. (Closed)
Patch Set: rebaselined Created 4 years, 2 months 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js
diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js b/third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js
index efceee1102b3523c6f3fbe4aab0834f7d5e41dc0..378c2bc06f0c72ca646c777e41be1f19e66eb38d 100644
--- a/third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js
+++ b/third_party/WebKit/Source/devtools/front_end/source_frame/ResourceSourceFrame.js
@@ -34,8 +34,8 @@
*/
WebInspector.ResourceSourceFrame = function(resource)
{
- this._resource = resource;
WebInspector.SourceFrame.call(this, resource.contentURL(), resource.requestContent.bind(resource));
+ this._resource = resource;
};
/**

Powered by Google App Engine
This is Rietveld 408576698