diff options
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-10 02:00:27 +0000 |
---|---|---|
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-10 02:00:27 +0000 |
commit | 8fd8fc711fc998a46200b790193508869c7e73b8 (patch) | |
tree | 5ab0e49e45caa015ca136b1482eacb6e8a57d3a1 | |
parent | 058bccbd4f46b18eed7303f5ad92acd004bb17f9 (diff) | |
download | chromium_src-8fd8fc711fc998a46200b790193508869c7e73b8.zip chromium_src-8fd8fc711fc998a46200b790193508869c7e73b8.tar.gz chromium_src-8fd8fc711fc998a46200b790193508869c7e73b8.tar.bz2 |
Simply use a named enum instead of a typedef.
BUG=1872
Patch from James Vega <vega.james@gmail.com>.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1964 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | webkit/glue/webframe_impl.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -8,3 +8,4 @@ Andrew Brampton <me@bramp.net> Paweł Hajdan jr <phajdan.jr@gmail.com> Jesse Miller <jesse@jmiller.biz> Szymon Piechowicz <szymonpiechowicz@o2.pl> +James Vega <vega.james@gmail.com> diff --git a/webkit/glue/webframe_impl.h b/webkit/glue/webframe_impl.h index c3d51c5..3972bc0 100644 --- a/webkit/glue/webframe_impl.h +++ b/webkit/glue/webframe_impl.h @@ -388,7 +388,7 @@ class WebFrameImpl : public WebFrame { private: // A bit mask specifying area of the frame to invalidate. - typedef enum AreaToInvalidate { + enum AreaToInvalidate { INVALIDATE_NOTHING = 0, INVALIDATE_CONTENT_AREA = 1, INVALIDATE_SCROLLBAR = 2, // vertical scrollbar only. |