Changeset 150513 in webkit
- Timestamp:
- May 22, 2013, 6:45:15 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r150509 r150513 1 2013-05-22 Hugo Parente Lima <hugo.lima@openbossa.org> 2 3 WebCore fails to compile with -Werror=maybe-uninitialized on GCC 4.8.0 4 https://bugs.webkit.org/show_bug.cgi?id=116340 5 6 Reviewed by Christophe Dumez. 7 8 No new tests, just a simple build fix. 9 10 * inspector/InspectorDOMStorageAgent.cpp: 11 (WebCore::InspectorDOMStorageAgent::setDOMStorageItem): Init frame variable. 12 (WebCore::InspectorDOMStorageAgent::removeDOMStorageItem): Init frame variable. 13 1 14 2013-05-22 Christophe Dumez <ch.dumez@sisa.samsung.com> 2 15 -
trunk/Source/WebCore/inspector/InspectorDOMStorageAgent.cpp
r150346 r150513 199 199 if (errorString) 200 200 *errorString = "Invalid storageId format"; 201 targetFrame = 0; 201 202 return 0; 202 203 } 203 204 204 Frame* frame = m_pageAgent->findFrameWithSecurityOrigin(securityOrigin);205 if (! frame) {205 targetFrame = m_pageAgent->findFrameWithSecurityOrigin(securityOrigin); 206 if (!targetFrame) { 206 207 if (errorString) 207 208 *errorString = "Frame not found for the given security origin"; 208 209 return 0; 209 210 } 210 targetFrame = frame;211 211 212 212 Page* page = m_pageAgent->page(); 213 213 if (isLocalStorage) 214 return page->group().localStorage()->storageArea( frame->document()->securityOrigin());215 return page->sessionStorage()->storageArea( frame->document()->securityOrigin());214 return page->group().localStorage()->storageArea(targetFrame->document()->securityOrigin()); 215 return page->sessionStorage()->storageArea(targetFrame->document()->securityOrigin()); 216 216 } 217 217
Note:
See TracChangeset
for help on using the changeset viewer.