diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-15 16:01:57 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-15 16:01:57 +0000 |
commit | 24e7135c10bc62da05ab6c243eb433dcff45a9d2 (patch) | |
tree | 66b1207ebec460bc40fda955559e9183045cdbfc /webkit | |
parent | f3f42e6a4664ed1c3562c5739fe7bf96745398b8 (diff) | |
download | chromium_src-24e7135c10bc62da05ab6c243eb433dcff45a9d2.zip chromium_src-24e7135c10bc62da05ab6c243eb433dcff45a9d2.tar.gz chromium_src-24e7135c10bc62da05ab6c243eb433dcff45a9d2.tar.bz2 |
[Mac] Breakpad keys to debug a GetCursor crash.
The crash is not informative. This should show if |type_| is
consistent or random.
BUG=73356
TEST=none
Review URL: http://codereview.chromium.org/7147003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89196 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/glue/webcursor.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/glue/webcursor.h b/webkit/glue/webcursor.h index 8fb6b9f..a931c23 100644 --- a/webkit/glue/webcursor.h +++ b/webkit/glue/webcursor.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -102,6 +102,9 @@ class WebCursor { // Initialize this from the given Cocoa NSCursor. void InitFromNSCursor(NSCursor* cursor); + + // TODO(shess): Temporary accessor for debugging http://crbug.com/73356 . + int type() const { return type_; } #endif private: |