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

Side by Side Diff: Source/modules/indexeddb/IDBAny.h

Issue 257573002: Oilpan: Fix crash in content::WebIDBCursorImpl::~WebIDBCursorImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/modules/indexeddb/IDBAny.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 } 68 }
69 static PassRefPtr<IDBAny> create(int64_t value) 69 static PassRefPtr<IDBAny> create(int64_t value)
70 { 70 {
71 return adoptRef(new IDBAny(value)); 71 return adoptRef(new IDBAny(value));
72 } 72 }
73 static PassRefPtr<IDBAny> create(PassRefPtr<SharedBuffer> value, PassRefPtr< IDBKey> key, const IDBKeyPath& keyPath) 73 static PassRefPtr<IDBAny> create(PassRefPtr<SharedBuffer> value, PassRefPtr< IDBKey> key, const IDBKeyPath& keyPath)
74 { 74 {
75 return adoptRef(new IDBAny(value, key, keyPath)); 75 return adoptRef(new IDBAny(value, key, keyPath));
76 } 76 }
77 ~IDBAny(); 77 ~IDBAny();
78 void contextWillBeDestroyed();
78 79
79 enum Type { 80 enum Type {
80 UndefinedType = 0, 81 UndefinedType = 0,
81 NullType, 82 NullType,
82 DOMStringListType, 83 DOMStringListType,
83 IDBCursorType, 84 IDBCursorType,
84 IDBCursorWithValueType, 85 IDBCursorWithValueType,
85 IDBDatabaseType, 86 IDBDatabaseType,
86 IDBIndexType, 87 IDBIndexType,
87 IDBObjectStoreType, 88 IDBObjectStoreType,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 const RefPtr<IDBKey> m_idbKey; 137 const RefPtr<IDBKey> m_idbKey;
137 const IDBKeyPath m_idbKeyPath; 138 const IDBKeyPath m_idbKeyPath;
138 const RefPtr<SharedBuffer> m_buffer; 139 const RefPtr<SharedBuffer> m_buffer;
139 const String m_string; 140 const String m_string;
140 const int64_t m_integer; 141 const int64_t m_integer;
141 }; 142 };
142 143
143 } // namespace WebCore 144 } // namespace WebCore
144 145
145 #endif // IDBAny_h 146 #endif // IDBAny_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/indexeddb/IDBAny.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698