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

Unified Diff: Source/core/dom/ElementRareData.h

Issue 239983004: Textarea resize-able only to larger; min-height and min-width properly set (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase and added shouldBeEqualToString() instead of shouldBe() in LayoutTest 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/ElementRareData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ElementRareData.h
diff --git a/Source/core/dom/ElementRareData.h b/Source/core/dom/ElementRareData.h
index 631fc87e185c37584335185b1651808006ec640b..ce94cc2a281382ed8d71ecd8f9aa741edc24c1c5 100644
--- a/Source/core/dom/ElementRareData.h
+++ b/Source/core/dom/ElementRareData.h
@@ -96,9 +96,6 @@ public:
DatasetDOMStringMap* dataset() const { return m_dataset.get(); }
void setDataset(PassOwnPtr<DatasetDOMStringMap> dataset) { m_dataset = dataset; }
- LayoutSize minimumSizeForResizing() const { return m_minimumSizeForResizing; }
- void setMinimumSizeForResizing(LayoutSize size) { m_minimumSizeForResizing = size; }
-
IntSize savedLayerScrollOffset() const { return m_savedLayerScrollOffset; }
void setSavedLayerScrollOffset(IntSize size) { m_savedLayerScrollOffset = size; }
@@ -125,7 +122,6 @@ public:
private:
short m_tabindex;
- LayoutSize m_minimumSizeForResizing;
IntSize m_savedLayerScrollOffset;
OwnPtr<DatasetDOMStringMap> m_dataset;
@@ -146,15 +142,9 @@ private:
explicit ElementRareData(RenderObject*);
};
-inline IntSize defaultMinimumSizeForResizing()
-{
- return IntSize(LayoutUnit::max(), LayoutUnit::max());
-}
-
inline ElementRareData::ElementRareData(RenderObject* renderer)
: NodeRareData(renderer)
, m_tabindex(0)
- , m_minimumSizeForResizing(defaultMinimumSizeForResizing())
{
}
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/ElementRareData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698