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

Unified Diff: Source/core/dom/DataTransferItemList.cpp

Issue 64113006: Rename es => exceptionState in core/dom (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « Source/core/dom/DOMURL.cpp ('k') | Source/core/dom/DatasetDOMStringMap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DataTransferItemList.cpp
diff --git a/Source/core/dom/DataTransferItemList.cpp b/Source/core/dom/DataTransferItemList.cpp
index 7e751d37cff24d9310099e41f220a6cbebac87ae..d4f44d289579c23b4746739cdb54b04d2aa833aa 100644
--- a/Source/core/dom/DataTransferItemList.cpp
+++ b/Source/core/dom/DataTransferItemList.cpp
@@ -62,10 +62,10 @@ PassRefPtr<DataTransferItem> DataTransferItemList::item(unsigned long index)
return DataTransferItem::create(m_clipboard, item);
}
-void DataTransferItemList::deleteItem(unsigned long index, ExceptionState& es)
+void DataTransferItemList::deleteItem(unsigned long index, ExceptionState& exceptionState)
{
if (!m_clipboard->canWriteData()) {
- es.throwUninformativeAndGenericDOMException(InvalidStateError);
+ exceptionState.throwUninformativeAndGenericDOMException(InvalidStateError);
return;
}
m_dataObject->deleteItem(index);
@@ -78,11 +78,11 @@ void DataTransferItemList::clear()
m_dataObject->clearAll();
}
-PassRefPtr<DataTransferItem> DataTransferItemList::add(const String& data, const String& type, ExceptionState& es)
+PassRefPtr<DataTransferItem> DataTransferItemList::add(const String& data, const String& type, ExceptionState& exceptionState)
{
if (!m_clipboard->canWriteData())
return 0;
- RefPtr<ChromiumDataObjectItem> item = m_dataObject->add(data, type, es);
+ RefPtr<ChromiumDataObjectItem> item = m_dataObject->add(data, type, exceptionState);
if (!item)
return 0;
return DataTransferItem::create(m_clipboard, item);
« no previous file with comments | « Source/core/dom/DOMURL.cpp ('k') | Source/core/dom/DatasetDOMStringMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698