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

Unified Diff: third_party/WebKit/Source/core/inspector/v8/SourceMap.h

Issue 1648513002: [DevTools] use sourceMapURL and sourceRoot in SourceMap parser on backend (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added link to spec Created 4 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/v8/SourceMap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/v8/SourceMap.h
diff --git a/third_party/WebKit/Source/core/inspector/v8/SourceMap.h b/third_party/WebKit/Source/core/inspector/v8/SourceMap.h
index e7e5ca1dab50bcea4c960b04de9174839d7f5515..007ebfa820355343cbf6588f6a7c20a3579b53bb 100644
--- a/third_party/WebKit/Source/core/inspector/v8/SourceMap.h
+++ b/third_party/WebKit/Source/core/inspector/v8/SourceMap.h
@@ -37,15 +37,15 @@ public:
}
};
- static PassOwnPtr<SourceMap> parse(const String& json, int offsetLine = 0, int offsetColumn = 0);
+ static PassOwnPtr<SourceMap> parse(const String& json, const String& sourceMapUrl, int offsetLine = 0, int offsetColumn = 0);
const Entry* findEntry(int line, int column);
private:
SourceMap() { }
- bool parseSection(PassRefPtr<JSONObject> sectionObject, int offsetLine, int offsetColumn);
- bool parseMap(PassRefPtr<JSONObject> mapObject, int offsetLine, int offsetColumn);
+ bool parseSection(PassRefPtr<JSONObject> sectionObject, const String& sourceMapUrl, int offsetLine, int offsetColumn);
+ bool parseMap(PassRefPtr<JSONObject> mapObject, const String& sourceMapUrl, int offsetLine, int offsetColumn);
Vector<OwnPtr<Entry>> m_mappings;
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/v8/SourceMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698