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

Side by Side Diff: webkit\port\bindings\v8\v8_binding.cpp

Issue 149208: Reverting 19963. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit\port\bindings\v8\v8_binding.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "v8_binding.h" 5 #include "v8_binding.h"
6 6
7 #include "AtomicString.h" 7 #include "AtomicString.h"
8 #include "CString.h" 8 #include "CString.h"
9 #include "MathExtras.h" 9 #include "MathExtras.h"
10 #include "PlatformString.h" 10 #include "PlatformString.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 return v8::String::NewExternal(new WebCoreStringResource(str)); 121 return v8::String::NewExternal(new WebCoreStringResource(str));
122 } 122 }
123 123
124 v8::Local<v8::String> v8ExternalString(const String& str) { 124 v8::Local<v8::String> v8ExternalString(const String& str) {
125 if (!str.length()) 125 if (!str.length())
126 return v8::String::Empty(); 126 return v8::String::Empty();
127 return v8::String::NewExternal(new WebCoreStringResource(str)); 127 return v8::String::NewExternal(new WebCoreStringResource(str));
128 } 128 }
129 129
130 } // namespace WebCore 130 } // namespace WebCore
OLDNEW
« no previous file with comments | « webkit\port\bindings\v8\v8_binding.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698