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

Unified Diff: third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/HeapSnapshotWorker.js

Issue 2466123002: DevTools: reformat front-end code to match chromium style. (Closed)
Patch Set: all done Created 4 years, 1 month 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/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));

Powered by Google App Engine
This is Rietveld 408576698