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

Side by Side Diff: third_party/WebKit/Source/bindings/modules/v8/custom/V8CustomSQLStatementErrorCallback.cpp

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 months 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (c) 2009, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 v8::TryCatch exceptionCatcher(isolate); 67 v8::TryCatch exceptionCatcher(isolate);
68 exceptionCatcher.SetVerbose(true); 68 exceptionCatcher.SetVerbose(true);
69 69
70 v8::Local<v8::Value> result; 70 v8::Local<v8::Value> result;
71 // FIXME: This comment doesn't make much sense given what the code is actual ly doing. 71 // FIXME: This comment doesn't make much sense given what the code is actual ly doing.
72 // 72 //
73 // Step 6: If the error callback returns false, then move on to the next 73 // Step 6: If the error callback returns false, then move on to the next
74 // statement, if any, or onto the next overall step otherwise. Otherwise, 74 // statement, if any, or onto the next overall step otherwise. Otherwise,
75 // the error callback did not return false, or there was no error callback. 75 // the error callback did not return false, or there was no error callback.
76 // Jump to the last step in the overall steps. 76 // Jump to the last step in the overall steps.
77 if (!ScriptController::callFunction(executionContext(), m_callback.newLocal( isolate), m_scriptState->context()->Global(), WTF_ARRAY_LENGTH(argv), argv, isol ate).ToLocal(&result)) 77 if (!ScriptController::callFunction(getExecutionContext(), m_callback.newLoc al(isolate), m_scriptState->context()->Global(), WTF_ARRAY_LENGTH(argv), argv, i solate).ToLocal(&result))
78 return true; 78 return true;
79 79
80 bool value; 80 bool value;
81 V8_CALL(value, result, BooleanValue(isolate->GetCurrentContext()), return tr ue); 81 V8_CALL(value, result, BooleanValue(isolate->GetCurrentContext()), return tr ue);
82 return value; 82 return value;
83 } 83 }
84 84
85 } // namespace blink 85 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698