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

Side by Side Diff: Source/core/html/HiddenInputType.cpp

Issue 16896019: Replace RenderArena with PartitionAlloc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 void HiddenInputType::restoreFormControlState(const FormControlState& state) 65 void HiddenInputType::restoreFormControlState(const FormControlState& state)
66 { 66 {
67 element()->setAttribute(valueAttr, state[0]); 67 element()->setAttribute(valueAttr, state[0]);
68 } 68 }
69 69
70 bool HiddenInputType::supportsValidation() const 70 bool HiddenInputType::supportsValidation() const
71 { 71 {
72 return false; 72 return false;
73 } 73 }
74 74
75 RenderObject* HiddenInputType::createRenderer(RenderArena*, RenderStyle*) const 75 RenderObject* HiddenInputType::createRenderer(RenderStyle*) const
76 { 76 {
77 ASSERT_NOT_REACHED(); 77 ASSERT_NOT_REACHED();
78 return 0; 78 return 0;
79 } 79 }
80 80
81 void HiddenInputType::accessKeyAction(bool) 81 void HiddenInputType::accessKeyAction(bool)
82 { 82 {
83 } 83 }
84 84
85 bool HiddenInputType::rendererIsNeeded() 85 bool HiddenInputType::rendererIsNeeded()
(...skipping 24 matching lines...) Expand all
110 } 110 }
111 return InputType::appendFormData(encoding, isMultipartForm); 111 return InputType::appendFormData(encoding, isMultipartForm);
112 } 112 }
113 113
114 bool HiddenInputType::shouldRespectHeightAndWidthAttributes() 114 bool HiddenInputType::shouldRespectHeightAndWidthAttributes()
115 { 115 {
116 return true; 116 return true;
117 } 117 }
118 118
119 } // namespace WebCore 119 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698