RESOLVED FIXED 118074
Add JSStringCreateWithCharactersNoCopy SPI
https://bugs.webkit.org/show_bug.cgi?id=118074
Summary Add JSStringCreateWithCharactersNoCopy SPI
Anders Carlsson
Reported 2013-06-26 13:04:00 PDT
Add JSStringCreateWithCharactersNoCopy SPI
Attachments
Patch (18.81 KB, patch)
2013-06-26 13:17 PDT, Anders Carlsson
ggaren: review+
Radar WebKit Bug Importer
Comment 1 2013-06-26 13:06:34 PDT
Anders Carlsson
Comment 2 2013-06-26 13:17:29 PDT
WebKit Commit Bot
Comment 3 2013-06-26 13:19:55 PDT
Attachment 205520 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/API/JSStringRef.cpp', u'Source/JavaScriptCore/API/JSStringRefPrivate.h', u'Source/JavaScriptCore/API/OpaqueJSString.h', u'Source/JavaScriptCore/API/tests/testapi.c', u'Source/JavaScriptCore/ChangeLog', u'Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj', u'Source/WTF/ChangeLog', u'Source/WTF/wtf/text/StringImpl.cpp', u'Source/WTF/wtf/text/StringImpl.h']" exit_code: 1 Source/WTF/wtf/text/StringImpl.h:772: An else statement can be removed when the prior "if" concludes with a return, break, continue or goto statement. [readability/control_flow] [4] Source/WTF/wtf/text/StringImpl.h:1365: An else statement can be removed when the prior "if" concludes with a return, break, continue or goto statement. [readability/control_flow] [4] Total errors found: 2 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Geoffrey Garen
Comment 4 2013-06-26 15:17:33 PDT
Comment on attachment 205520 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=205520&action=review r=me > Source/WTF/wtf/text/StringImpl.h:774 > + else No else, please. > Source/WTF/wtf/text/StringImpl.h:1367 > + else Ditto. > Source/WTF/wtf/text/StringImpl.h:1373 > - return create(m_data16, m_length); > + else Boo.
Anders Carlsson
Comment 5 2013-06-26 16:24:21 PDT
Note You need to log in before you can comment on or make changes to this bug.