Chromium Code Reviews| Index: Source/core/editing/htmlediting.cpp |
| diff --git a/Source/core/editing/htmlediting.cpp b/Source/core/editing/htmlediting.cpp |
| index 3813ae4cacc9522a4702d2e33e1404b4538b4432..eb6ec99319b2d91b9e59b008a8de9df67046b2f4 100644 |
| --- a/Source/core/editing/htmlediting.cpp |
| +++ b/Source/core/editing/htmlediting.cpp |
| @@ -425,10 +425,9 @@ const String& nonBreakingSpaceString() |
| } |
| // FIXME: need to dump this |
| -bool isSpecialHTMLElement(const Node* n) |
| +static bool isSpecialHTMLElement(const Node* n) |
|
tkent
2014/11/05 01:07:20
nit: So, we can change the argument type to |const
|
| { |
| - if (!n) |
| - return false; |
| + ASSERT(n); |
| if (!n->isHTMLElement()) |
| return false; |