Bug 68524 - Web Inspector: migrate RawSourceCode clients to SourceMapping class.
Summary: Web Inspector: migrate RawSourceCode clients to SourceMapping class.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Pavel Podivilov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 05:50 PDT by Pavel Podivilov
Modified: 2011-09-27 05:05 PDT (History)
10 users (show)

See Also:


Attachments
Patch (28.06 KB, patch)
2011-09-21 05:52 PDT, Pavel Podivilov
yurys: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Podivilov 2011-09-21 05:50:34 PDT
Web Inspector: migrate RawSourceCode clients to SourceMapping class.

Clients should use uiSourceCode(), rawLocationToUILocation(), uiLocationToRawLocation() methods of SourceMapping class.
Initially, RawSourceCode may not have associated SourceMapping, so it is natural to extract this methods and associated state to a separate class.
Comment 1 Pavel Podivilov 2011-09-21 05:52:26 PDT
Created attachment 108139 [details]
Patch
Comment 2 Pavel Podivilov 2011-09-27 05:05:46 PDT
Committed r96097: <http://trac.webkit.org/changeset/96097>