| Index: third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotWorker.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotWorker.js b/third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotWorker.js
|
| index 5676423d80b2673bb22bf06272168c42c9cbd4a2..4642dd649c7af7492845e840a771598da6d8dddb 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotWorker.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotWorker.js
|
| @@ -27,10 +27,8 @@
|
| * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
| -
|
| -function postMessageWrapper(message)
|
| -{
|
| - postMessage(message);
|
| +function postMessageWrapper(message) {
|
| + postMessage(message);
|
| }
|
|
|
| var dispatcher = new WebInspector.HeapSnapshotWorkerDispatcher(this, postMessageWrapper);
|
| @@ -39,9 +37,8 @@ var dispatcher = new WebInspector.HeapSnapshotWorkerDispatcher(this, postMessage
|
| * @param {function(!Event)} listener
|
| * @suppressGlobalPropertiesCheck
|
| */
|
| -function installMessageEventListener(listener)
|
| -{
|
| - self.addEventListener("message", listener, false);
|
| +function installMessageEventListener(listener) {
|
| + self.addEventListener('message', listener, false);
|
| }
|
|
|
| installMessageEventListener(dispatcher.dispatchMessage.bind(dispatcher));
|
|
|