From 24e7135c10bc62da05ab6c243eb433dcff45a9d2 Mon Sep 17 00:00:00 2001 From: "shess@chromium.org" Date: Wed, 15 Jun 2011 16:01:57 +0000 Subject: [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 --- webkit/glue/webcursor.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'webkit/glue/webcursor.h') 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: -- cgit v1.1