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

Side by Side Diff: Source/web/PageOverlayList.h

Issue 23464095: WTF::notFound looks too much like a local variable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 10 *
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void update(); 59 void update();
60 void paintWebFrame(WebCore::GraphicsContext&); 60 void paintWebFrame(WebCore::GraphicsContext&);
61 61
62 size_t findGraphicsLayer(WebCore::GraphicsLayer*); 62 size_t findGraphicsLayer(WebCore::GraphicsLayer*);
63 63
64 private: 64 private:
65 typedef Vector<OwnPtr<PageOverlay>, 2> PageOverlays; 65 typedef Vector<OwnPtr<PageOverlay>, 2> PageOverlays;
66 66
67 explicit PageOverlayList(WebViewImpl*); 67 explicit PageOverlayList(WebViewImpl*);
68 68
69 // Returns the index of the client found. Otherwise, returns WTF::notFound. 69 // Returns the index of the client found. Otherwise, returns WTF::kNotFound.
70 size_t find(WebPageOverlay*); 70 size_t find(WebPageOverlay*);
71 71
72 WebViewImpl* m_viewImpl; 72 WebViewImpl* m_viewImpl;
73 PageOverlays m_pageOverlays; 73 PageOverlays m_pageOverlays;
74 }; 74 };
75 75
76 } // namespace WebKit 76 } // namespace WebKit
77 77
78 #endif // PageOverlayList_h 78 #endif // PageOverlayList_h
OLDNEW
« no previous file with comments | « Source/modules/websockets/WebSocketExtensionDispatcherTest.cpp ('k') | Source/web/PageOverlayList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698