diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 20:51:21 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 20:51:21 +0000 |
commit | e617a31ce690976e4d73316b4c0c3d0550745475 (patch) | |
tree | 1760f11db94773c9fd5ad196f834db0aaeb8ce04 /webkit/glue/editor_client_impl.cc | |
parent | 8c373ff16ce620316116327790d25fe3623c81e3 (diff) | |
download | chromium_src-e617a31ce690976e4d73316b4c0c3d0550745475.zip chromium_src-e617a31ce690976e4d73316b4c0c3d0550745475.tar.gz chromium_src-e617a31ce690976e4d73316b4c0c3d0550745475.tar.bz2 |
Remove unused static function
Review URL: http://codereview.chromium.org/6216
Patch from icefox.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3044 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/editor_client_impl.cc')
-rw-r--r-- | webkit/glue/editor_client_impl.cc | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/webkit/glue/editor_client_impl.cc b/webkit/glue/editor_client_impl.cc index a3f10e8..ca8f372 100644 --- a/webkit/glue/editor_client_impl.cc +++ b/webkit/glue/editor_client_impl.cc @@ -37,7 +37,7 @@ // unbounded memory. This is the maximum number of distinct undoable // actions -- unbroken stretches of typed characters are coalesced // into a single action. -static const int kMaximumUndoStackDepth = 1000; +static const size_t kMaximumUndoStackDepth = 1000; namespace { @@ -338,17 +338,6 @@ void EditorClientImpl::redo() { } } -// Get the distance we should go (in pixels) when doing a pageup/pagedown. -static int GetVerticalPageDistance(WebCore::KeyboardEvent* event) { - if (event->target()) { - WebCore::Node* node = event->target()->toNode(); - if (node && node->renderer()) - return node->renderer()->contentHeight(); - } - - return 0; -} - // The below code was adapted from the WebKit file webview.cpp // provided by Apple, Inc, and is subject to the following copyright // notice and disclaimer. |