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

Unified Diff: third_party/WebKit/Source/core/html/FormData.cpp

Issue 1461193003: Revert of [Oilpan] Prepare full definition of classes before using Member (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make patch applicable Created 5 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
Index: third_party/WebKit/Source/core/html/FormData.cpp
diff --git a/third_party/WebKit/Source/core/html/FormData.cpp b/third_party/WebKit/Source/core/html/FormData.cpp
index 14aef74777d3d7faf08c8d7d9fa5586838bca13c..aac1c6f2257b75384e9857210cbf13f091e5191b 100644
--- a/third_party/WebKit/Source/core/html/FormData.cpp
+++ b/third_party/WebKit/Source/core/html/FormData.cpp
@@ -323,39 +323,11 @@ PairIterable<String, FormDataEntryValue>::IterationSource* FormData::startIterat
// ----------------------------------------------------------------
-FormData::Entry::Entry(const CString& name, const CString& value)
- : m_name(name)
- , m_value(value)
-{
-}
-
-FormData::Entry::Entry(const CString& name, Blob* blob, const String& filename)
- : m_name(name)
- , m_blob(blob)
- , m_filename(filename)
-{
-}
-
DEFINE_TRACE(FormData::Entry)
{
visitor->trace(m_blob);
}
-bool FormData::Entry::isString() const
-{
- return !m_blob;
-}
-
-bool FormData::Entry::isFile() const
-{
- return m_blob;
-}
-
-Blob* FormData::Entry::blob() const
-{
- return m_blob.get();
-}
-
File* FormData::Entry::file() const
{
ASSERT(blob());
« no previous file with comments | « third_party/WebKit/Source/core/html/FormData.h ('k') | third_party/WebKit/Source/core/html/HTMLCanvasElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698