💄 Fix cpplint warning.
This commit is contained in:
parent
3d267fc743
commit
d67295888d
1 changed files with 3 additions and 1 deletions
|
@ -5,6 +5,8 @@
|
|||
#ifndef ATOM_COMMON_NATIVE_MATE_CONVERTERS_GURL_CONVERTER_H_
|
||||
#define ATOM_COMMON_NATIVE_MATE_CONVERTERS_GURL_CONVERTER_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "native_mate/converter.h"
|
||||
#include "url/gurl.h"
|
||||
|
||||
|
@ -14,7 +16,7 @@ template<>
|
|||
struct Converter<GURL> {
|
||||
static v8::Handle<v8::Value> ToV8(v8::Isolate* isolate,
|
||||
const GURL& val) {
|
||||
return Converter<std::string>::ToV8(isolate, val.spec());
|
||||
return ConvertToV8(isolate, val.spec());
|
||||
}
|
||||
static bool FromV8(v8::Isolate* isolate,
|
||||
v8::Handle<v8::Value> val,
|
||||
|
|
Loading…
Reference in a new issue