This commit is contained in:
Cheng Zhao 2015-06-23 10:18:43 +08:00
Родитель 19963bfcd1
Коммит 1ce86b6dfc
5 изменённых файлов: 6 добавлений и 8 удалений

Просмотреть файл

@ -343,7 +343,7 @@ mate::ObjectTemplateBuilder Cookies::GetObjectTemplateBuilder(
mate::Handle<Cookies> Cookies::Create(
v8::Isolate* isolate,
content::BrowserContext* browser_context) {
return CreateHandle(isolate, new Cookies(browser_context));
return mate::CreateHandle(isolate, new Cookies(browser_context));
}
} // namespace api

Просмотреть файл

@ -354,7 +354,7 @@ void Protocol::EmitEventInUI(const std::string& event,
// static
mate::Handle<Protocol> Protocol::Create(
v8::Isolate* isolate, AtomBrowserContext* browser_context) {
return CreateHandle(isolate, new Protocol(browser_context));
return mate::CreateHandle(isolate, new Protocol(browser_context));
}
} // namespace api

Просмотреть файл

@ -41,7 +41,7 @@ mate::ObjectTemplateBuilder Session::GetObjectTemplateBuilder(
mate::Handle<Session> Session::Create(
v8::Isolate* isolate,
content::BrowserContext* browser_context) {
return CreateHandle(isolate, new Session(browser_context));
return mate::CreateHandle(isolate, new Session(browser_context));
}
} // namespace api

Просмотреть файл

@ -38,15 +38,16 @@
'target_conditions': [
['_target_name in ["libuv", "http_parser", "openssl", "cares", "node", "zlib"]', {
'msvs_disabled_warnings': [
4703, # potentially uninitialized local pointer variable 'req' used
4013, # 'free' undefined; assuming extern returning int
4018, # signed/unsigned mismatch
4054, #
4055, # 'type cast' : from data pointer 'void *' to function pointer
4057, # 'function' : 'volatile LONG *' differs in indirection to slightly different base types from 'unsigned long *'
4189, #
4131, # uses old-style declarator
4133, # incompatible types
4146, # unary minus operator applied to unsigned type, result still unsigned
4164, # intrinsic function not declared
4152, # function/data pointer conversion in expression
4206, # translation unit is empty
4204, # non-constant aggregate initializer
@ -58,6 +59,7 @@
4389, # '==' : signed/unsigned mismatch
4505, # unreferenced local function has been removed
4701, # potentially uninitialized local variable 'sizew' used
4703, # potentially uninitialized local pointer variable 'req' used
4706, # assignment within conditional expression
4804, # unsafe use of type 'bool' in operation
4996, # this function or variable may be unsafe.

Просмотреть файл

@ -85,10 +85,6 @@ def main():
os.path.join(DIST_DIR, MKSNAPSHOT_NAME))
if PLATFORM == 'win32':
# Upload PDBs to Windows symbol server.
execute([sys.executable,
os.path.join(SOURCE_ROOT, 'script', 'upload-windows-pdb.py')])
# Upload node headers.
execute([sys.executable,
os.path.join(SOURCE_ROOT, 'script', 'upload-node-headers.py'),