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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp

Issue 2688383003: Remove unnecessary SafePointScope (Closed)
Patch Set: temp Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp b/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp
index b2ad12057b2fc7cd190b568d105ad60cd932aeb0..251daa09566d16b9d0b2ae193962f3cfa92f2cee 100644
--- a/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteStatement.cpp
@@ -102,8 +102,6 @@ int SQLiteStatement::prepare() {
*statement = nullptr;
int error;
{
- SafePointScope scope(BlinkGC::HeapPointersOnStack);
-
SQL_DVLOG(1) << "SQL - prepare - " << query.data();
// Pass the length of the string including the null character to
@@ -130,9 +128,6 @@ int SQLiteStatement::prepare() {
}
int SQLiteStatement::step() {
- SafePointScope scope(BlinkGC::HeapPointersOnStack);
- // ASSERT(m_isPrepared);
-
if (!m_statement)
return SQLITE_OK;

Powered by Google App Engine
This is Rietveld 408576698