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

Unified Diff: webkit/port/bindings/v8/v8_events.cpp

Issue 42139: Fix layout test fast/events/onload-single-line-comment.html (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | webkit/tools/layout_tests/test_lists/tests_fixable.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/port/bindings/v8/v8_events.cpp
===================================================================
--- webkit/port/bindings/v8/v8_events.cpp (revision 11546)
+++ webkit/port/bindings/v8/v8_events.cpp (working copy)
@@ -362,7 +362,7 @@
// an event handler is named "evt".
String code = "(function (evt) {\n";
code.append(m_code);
- code.append("})");
+ code.append("\n})");
IF_DEVEL(log_info(frame, code, "<getListener>"));
@@ -447,7 +447,7 @@
code.append(" with (this) {\n");
code.append(" return (function(evt){");
code.append(m_code);
- code.append("}).call(this, evt);\n");
+ code.append("\n}).call(this, evt);\n");
code.append(" }\n");
code.append(" }\n");
code.append(" }\n");
« no previous file with comments | « no previous file | webkit/tools/layout_tests/test_lists/tests_fixable.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698