File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,11 @@ DispatcherBindings::GetNativeFunctionTemplate(
164
164
return v8::FunctionTemplate::New (isolate, GetNSStringWithFixup);
165
165
else if (name->Equals (v8::String::NewFromUtf8 (isolate, " GetNSStringFWithFixup" )))
166
166
return v8::FunctionTemplate::New (isolate, GetNSStringFWithFixup);
167
+ #else
168
+ else if (name->Equals (v8::String::NewFromUtf8 (isolate, " GetNSStringWithFixup" )))
169
+ return v8::FunctionTemplate::New (isolate);
170
+ else if (name->Equals (v8::String::NewFromUtf8 (isolate, " GetNSStringFWithFixup" )))
171
+ return v8::FunctionTemplate::New (isolate);
167
172
#endif
168
173
NOTREACHED () << " Trying to get an non-exist function in DispatcherBindings:"
169
174
<< *v8::String::Utf8Value (name);
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ void MenuItem::Create(const base::DictionaryValue& option) {
31
31
std::string type;
32
32
option.GetString (" type" , &type);
33
33
submenu_ = NULL ;
34
+ gtk_accel_group = NULL ;
34
35
35
36
if (type == " separator" ) {
36
37
menu_item_ = gtk_separator_menu_item_new ();
You can’t perform that action at this time.
0 commit comments