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

Side by Side Diff: third_party/WebKit/Source/modules/webdatabase/SQLStatementBackend.h

Issue 2631403002: Fix SQLStatementBackend::m_resultSet to use CrossThreadPersistent
Patch Set: fix Created 3 years, 11 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) 2007, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2007, 2013 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 void setFailureDueToQuota(Database*); 72 void setFailureDueToQuota(Database*);
73 void clearFailureDueToQuota(); 73 void clearFailureDueToQuota();
74 74
75 Member<SQLStatement> m_frontend; 75 Member<SQLStatement> m_frontend;
76 String m_statement; 76 String m_statement;
77 Vector<SQLValue> m_arguments; 77 Vector<SQLValue> m_arguments;
78 bool m_hasCallback; 78 bool m_hasCallback;
79 bool m_hasErrorCallback; 79 bool m_hasErrorCallback;
80 80
81 std::unique_ptr<SQLErrorData> m_error; 81 std::unique_ptr<SQLErrorData> m_error;
82 Member<SQLResultSet> m_resultSet; 82 CrossThreadPersistent<SQLResultSet> m_resultSet;
83 83
84 int m_permissions; 84 int m_permissions;
85 }; 85 };
86 86
87 } // namespace blink 87 } // namespace blink
88 88
89 #endif // SQLStatementBackend_h 89 #endif // SQLStatementBackend_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698