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

Unified Diff: chrome/renderer/external_extension.cc

Issue 384103: This patch is the rest of the lint cleanup minus the other open issue. (Closed)
Patch Set: Created 11 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
« no previous file with comments | « chrome/renderer/external_extension.h ('k') | chrome/renderer/loadtimes_extension_bindings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/external_extension.cc
diff --git a/chrome/renderer/external_extension.cc b/chrome/renderer/external_extension.cc
index f0e0bd58a3cc0ab2cf6b88cdbcc95cad1fdfbfd9..e31c42234d4410cffb41b6f6c796a96b414635e9 100644
--- a/chrome/renderer/external_extension.cc
+++ b/chrome/renderer/external_extension.cc
@@ -51,7 +51,7 @@ class ExternalExtensionWrapper : public v8::Extension {
if (!renderview) return v8::Undefined();
std::string name = std::string(*v8::String::Utf8Value(args[0]));
- if (!name.length()) return v8::Undefined();;
+ if (!name.length()) return v8::Undefined();
renderview->AddSearchProvider(name);
return v8::Undefined();
« no previous file with comments | « chrome/renderer/external_extension.h ('k') | chrome/renderer/loadtimes_extension_bindings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698