<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>43631</bug_id>
          
          <creation_ts>2010-08-06 11:19:21 -0700</creation_ts>
          <short_desc>add &quot;const&quot; to WebChromeClient::webView().</short_desc>
          <delta_ts>2010-08-06 14:23:38 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Yongjun Zhang">yongjun_zhang</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>joepeck</cc>
    
    <cc>yongjun_zhang</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>261366</commentid>
    <comment_count>0</comment_count>
    <who name="Yongjun Zhang">yongjun_zhang</who>
    <bug_when>2010-08-06 11:19:21 -0700</bug_when>
    <thetext>ChromeClient::didReceiveViewportArguments() has changed to be a &quot;const&quot; method.   If we call WebChromeClient::webView() inside port-specific didReceiveViewportArguments() const, the compiler won&apos;t be happy because currently webView() is not const.  We need to change WebChromeClient()::webView() to be &quot;const&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261367</commentid>
    <comment_count>1</comment_count>
    <who name="Yongjun Zhang">yongjun_zhang</who>
    <bug_when>2010-08-06 11:20:04 -0700</bug_when>
    <thetext>It is blocking &lt;rdar://problem/8274174&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261368</commentid>
    <comment_count>2</comment_count>
      <attachid>63744</attachid>
    <who name="Yongjun Zhang">yongjun_zhang</who>
    <bug_when>2010-08-06 11:28:10 -0700</bug_when>
    <thetext>Created attachment 63744
Change WebChromeClient::webView() to be const.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261409</commentid>
    <comment_count>3</comment_count>
      <attachid>63744</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-08-06 13:15:44 -0700</bug_when>
    <thetext>Comment on attachment 63744
Change WebChromeClient::webView() to be const.

OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>261463</commentid>
    <comment_count>4</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2010-08-06 14:23:38 -0700</bug_when>
    <thetext>Committed r64868
	M	WebKit/mac/WebCoreSupport/WebChromeClient.h
	M	WebKit/mac/ChangeLog
r64868 = aa39e0ac7d3f2dd39f182bef3818b79e35d8db2e (refs/remotes/trunk)
http://trac.webkit.org/changeset/64868</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>63744</attachid>
            <date>2010-08-06 11:28:10 -0700</date>
            <delta_ts>2010-08-06 13:15:44 -0700</delta_ts>
            <desc>Change WebChromeClient::webView() to be const.</desc>
            <filename>const_webview.patch</filename>
            <type>text/plain</type>
            <size>1363</size>
            <attacher name="Yongjun Zhang">yongjun_zhang</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC9tYWMvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdC9tYWMvQ2hh
bmdlTG9nCShyZXZpc2lvbiA2NDg1OSkKKysrIFdlYktpdC9t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Yy9XZWJDb3JlU3VwcG9ydC9XZWJDaHJvbWVDbGllbnQuaAkocmV2aXNpb24gNjQ4
NTYpCisrKyBXZWJLaXQvbWFjL1dlYkNvcmVTdXBwb3J0L1dlYkNocm9tZUNsaWVudC5oCSh3b3Jr
aW5nIGNvcHkpCkBAIC0zNiw3ICszNiw3IEBACiBjbGFzcyBXZWJDaHJvbWVDbGllbnQgOiBwdWJs
aWMgV2ViQ29yZTo6Q2hyb21lQ2xpZW50IHsKIHB1YmxpYzoKICAgICBXZWJDaHJvbWVDbGllbnQo
V2ViVmlldyAqd2ViVmlldyk7Ci0gICAgV2ViVmlldyAqd2ViVmlldygpIHsgcmV0dXJuIG1fd2Vi
VmlldzsgfQorICAgIFdlYlZpZXcgKndlYlZpZXcoKSBjb25zdCB7IHJldHVybiBtX3dlYlZpZXc7
IH0KICAgICAKICAgICB2aXJ0dWFsIHZvaWQgY2hyb21lRGVzdHJveWVkKCk7CiAgICAgCg==
</data>
<flag name="review"
          id="52154"
          type_id="1"
          status="+"
          setter="eric"
    />
    <flag name="commit-queue"
          id="52165"
          type_id="3"
          status="+"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>