This commit is contained in:
Kevin Sawicki & Nathan Sobo
2012-08-03 14:55:00 -06:00
committed by Kevin Sawicki
parent efaa369153
commit 8d31eb9c73

View File

@@ -526,9 +526,7 @@ bool NativeHandler::Execute(const CefString& name,
return true;
}
else if (name == "getPlatform") {
NSString *platform = @"mac";
retval = CefV8Value::CreateString([platform UTF8String]);
retval = CefV8Value::CreateString("mac");
return true;
}
return false;