<?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>109380</bug_id>
          
          <creation_ts>2013-02-10 09:51:51 -0800</creation_ts>
          <short_desc>[Chromium] FilterTypeSaturatingBrightness enum</short_desc>
          <delta_ts>2013-02-11 13:37:17 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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>1</everconfirmed>
          <reporter name="Florin Malita">fmalita</reporter>
          <assigned_to name="Florin Malita">fmalita</assigned_to>
          <cc>abarth</cc>
    
    <cc>dglazkov</cc>
    
    <cc>fishd</cc>
    
    <cc>jamesr</cc>
    
    <cc>senorblanco</cc>
    
    <cc>tkent+wkapi</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>829306</commentid>
    <comment_count>0</comment_count>
    <who name="Florin Malita">fmalita</who>
    <bug_when>2013-02-10 09:51:51 -0800</bug_when>
    <thetext>Add WebFilterOperation FilterTypeSaturatingBrightness enum to support internal clients relying on the current saturating behavior.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>829310</commentid>
    <comment_count>1</comment_count>
      <attachid>187485</attachid>
    <who name="Florin Malita">fmalita</who>
    <bug_when>2013-02-10 10:04:45 -0800</bug_when>
    <thetext>Created attachment 187485
Patch

This requires https://codereview.chromium.org/12209071/ in order to not break the build.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>829311</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-02-10 10:07:39 -0800</bug_when>
    <thetext>Please wait for approval from abarth@webkit.org, dglazkov@chromium.org, fishd@chromium.org, jamesr@chromium.org or tkent@chromium.org before submitting, as this patch contains changes to the Chromium public API. See also https://trac.webkit.org/wiki/ChromiumWebKitAPI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>829312</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-02-10 10:07:54 -0800</bug_when>
    <thetext>Attachment 187485 did not pass style-queue:

Failed to run &quot;[&apos;Tools/Scripts/check-webkit-style&apos;, &apos;--diff-files&apos;, u&apos;Source/Platform/ChangeLog&apos;, u&apos;Source/Platform/chromium/public/WebFilterOperation.h&apos;]&quot; exit_code: 1
Source/Platform/chromium/public/WebFilterOperation.h:69:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/Platform/chromium/public/WebFilterOperation.h:70:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/Platform/chromium/public/WebFilterOperation.h:126:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Source/Platform/chromium/public/WebFilterOperation.h:127:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Total errors found: 4 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>829313</commentid>
    <comment_count>4</comment_count>
    <who name="Florin Malita">fmalita</who>
    <bug_when>2013-02-10 10:18:50 -0800</bug_when>
    <thetext>This is a pre-requisite for https://codereview.chromium.org/12033075/.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>829389</commentid>
    <comment_count>5</comment_count>
      <attachid>187485</attachid>
    <who name="James Robinson">jamesr</who>
    <bug_when>2013-02-10 17:59:14 -0800</bug_when>
    <thetext>Comment on attachment 187485
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=187485&amp;action=review

&gt; Source/Platform/chromium/public/WebFilterOperation.h:52
&gt; +        FilterTypeSaturatingBrightness, // Legacy brightness implementation used by internal clients

I&apos;m not sure this comment adds any value in isolation. Perhaps specify that it&apos;s not one in CSS/SVG if that&apos;s the distinguishing factor?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>829813</commentid>
    <comment_count>6</comment_count>
      <attachid>187485</attachid>
    <who name="Florin Malita">fmalita</who>
    <bug_when>2013-02-11 09:55:34 -0800</bug_when>
    <thetext>Comment on attachment 187485
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=187485&amp;action=review

&gt;&gt; Source/Platform/chromium/public/WebFilterOperation.h:52
&gt;&gt; +        FilterTypeSaturatingBrightness, // Legacy brightness implementation used by internal clients
&gt; 
&gt; I&apos;m not sure this comment adds any value in isolation. Perhaps specify that it&apos;s not one in CSS/SVG if that&apos;s the distinguishing factor?

Sounds good, thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>829991</commentid>
    <comment_count>7</comment_count>
    <who name="Florin Malita">fmalita</who>
    <bug_when>2013-02-11 12:39:47 -0800</bug_when>
    <thetext>Committed r142496: &lt;http://trac.webkit.org/changeset/142496&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>830016</commentid>
    <comment_count>8</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2013-02-11 13:06:56 -0800</bug_when>
    <thetext>(In reply to comment #7)
&gt; Committed r142496: &lt;http://trac.webkit.org/changeset/142496&gt;

This breaks the build:

FAILED: ../../Source/WebKit/chromium/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/source/webkit/chromium/cc/cc.render_surface_filters.o.d -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_THREADING -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DENABLE_LANGUAGE_DETECTION=1 -DENABLE_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_MANAGED_USERS=1 -DCC_IMPLEMENTATION=1 -DSK_BUILD_NO_IMAGE_ENCODE -DSK_DEFERRED_CANVAS_USES_GPIPE=1 &apos;-DGR_GL_CUSTOM_SETUP_HEADER=&quot;GrGLConfig_chrome.h&quot;&apos; -DGR_AGGRESSIVE_SHADER_OPTS=1 -DSK_ENABLE_INST_COUNT=0 -DSK_USE_POSIX_THREADS -DU_USING_ICU_NAMESPACE=0 -DU_STATIC_IMPLEMENTATION -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../Source/WebKit/chromium/third_party/icu/public/common -I../../Source/WebKit/chromium/third_party/icu/public/i18n -I../../Source/WebKit/chromium/third_party/khronos -I../../Source/WebKit/chromium/gpu -I../../Source/WebKit/chromium -I../../Source/WebKit/chromium/skia/config -I../../Source/WebKit/chromium/third_party/skia/src/core -I../../Source/WebKit/chromium/third_party/skia/include/config -I../../Source/WebKit/chromium/third_party/skia/include/core -I../../Source/WebKit/chromium/third_party/skia/include/effects -I../../Source/WebKit/chromium/third_party/skia/include/pdf -I../../Source/WebKit/chromium/third_party/skia/include/gpu -I../../Source/WebKit/chromium/third_party/skia/include/gpu/gl -I../../Source/WebKit/chromium/third_party/skia/include/pipe -I../../Source/WebKit/chromium/third_party/skia/include/ports -I../../Source/WebKit/chromium/third_party/skia/include/utils -I../../Source/WebKit/chromium/skia/ext -I../../Source/WebKit/chromium/third_party/skia/include/utils/mac -Igen/ui/gl -I../../Source/WebKit/chromium/third_party/mesa/MesaLib/include -I../../Source/Platform/chromium -Igen/webkit -I../../Source/Platform/chromium -Igen/webcore_headers -I../../Source/WebKit/chromium/third_party/npapi -I../../Source/WebKit/chromium/third_party/npapi/bindings -I../../Source/WebKit/chromium/v8/include -isysroot /Developer/SDKs/MacOSX10.6.sdk -O3 -gdwarf-2 -fvisibility=hidden -Werror -Wnewline-eof -mmacosx-version-min=10.6 -arch i386 -Wendif-labels -Wno-unused-parameter -Wno-missing-field-initializers -Wheader-hygiene -Wno-c++11-narrowing -Wno-reserved-user-defined-literal -Wno-char-subscripts -Wno-unused-function -Wno-covered-switch-default -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -fcolor-diagnostics -fno-strict-aliasing -std=gnu++11  -c ../../Source/WebKit/chromium/cc/render_surface_filters.cc -o obj/source/webkit/chromium/cc/cc.render_surface_filters.o
../../Source/WebKit/chromium/cc/render_surface_filters.cc:348:17: error: enumeration value &apos;FilterTypeSaturatingBrightness&apos; not handled in switch [-Werror,-Wswitch]
        switch (op.type()) {
                ^
../../Source/WebKit/chromium/cc/render_surface_filters.cc:384:17: error: enumeration value &apos;FilterTypeSaturatingBrightness&apos; not handled in switch [-Werror,-Wswitch]
        switch (op.type()) {
                ^
2 errors generated.
ninja: build stopped: subcommand failed.

http://build.webkit.org/builders/Chromium%20Mac%20Release/builds/55540/steps/compile-webkit/logs/stdio

I think we&apos;ll have to add a default: to the chromium side switch statement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>830024</commentid>
    <comment_count>9</comment_count>
    <who name="Stephen White">senorblanco</who>
    <bug_when>2013-02-11 13:12:36 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; (In reply to comment #7)
&gt; &gt; Committed r142496: &lt;http://trac.webkit.org/changeset/142496&gt;
&gt; 
&gt; This breaks the build:
&gt; 
&gt; FAILED: ../../Source/WebKit/chromium/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/source/webkit/chromium/cc/cc.render_surface_filters.o.d -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_THREADING -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DENABLE_LANGUAGE_DETECTION=1 -DENABLE_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_MANAGED_USERS=1 -DCC_IMPLEMENTATION=1 -DSK_BUILD_NO_IMAGE_ENCODE -DSK_DEFERRED_CANVAS_USES_GPIPE=1 &apos;-DGR_GL_CUSTOM_SETUP_HEADER=&quot;GrGLConfig_chrome.h&quot;&apos; -DGR_AGGRESSIVE_SHADER_OPTS=1 -DSK_ENABLE_INST_COUNT=0 -DSK_USE_POSIX_THREADS -DU_USING_ICU_NAMESPACE=0 -DU_STATIC_IMPLEMENTATION -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../Source/WebKit/chromium/third_party/icu/public/common -I../../Source/WebKit/chromium/third_party/icu/public/i18n -I../../Source/WebKit/chromium/third_party/khronos -I../../Source/WebKit/chromium/gpu -I../../Source/WebKit/chromium -I../../Source/WebKit/chromium/skia/config -I../../Source/WebKit/chromium/third_party/skia/src/core -I../../Source/WebKit/chromium/third_party/skia/include/config -I../../Source/WebKit/chromium/third_party/skia/include/core -I../../Source/WebKit/chromium/third_party/skia/include/effects -I../../Source/WebKit/chromium/third_party/skia/include/pdf -I../../Source/WebKit/chromium/third_party/skia/include/gpu -I../../Source/WebKit/chromium/third_party/skia/include/gpu/gl -I../../Source/WebKit/chromium/third_party/skia/include/pipe -I../../Source/WebKit/chromium/third_party/skia/include/ports -I../../Source/WebKit/chromium/third_party/skia/include/utils -I../../Source/WebKit/chromium/skia/ext -I../../Source/WebKit/chromium/third_party/skia/include/utils/mac -Igen/ui/gl -I../../Source/WebKit/chromium/third_party/mesa/MesaLib/include -I../../Source/Platform/chromium -Igen/webkit -I../../Source/Platform/chromium -Igen/webcore_headers -I../../Source/WebKit/chromium/third_party/npapi -I../../Source/WebKit/chromium/third_party/npapi/bindings -I../../Source/WebKit/chromium/v8/include -isysroot /Developer/SDKs/MacOSX10.6.sdk -O3 -gdwarf-2 -fvisibility=hidden -Werror -Wnewline-eof -mmacosx-version-min=10.6 -arch i386 -Wendif-labels -Wno-unused-parameter -Wno-missing-field-initializers -Wheader-hygiene -Wno-c++11-narrowing -Wno-reserved-user-defined-literal -Wno-char-subscripts -Wno-unused-function -Wno-covered-switch-default -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -fcolor-diagnostics -fno-strict-aliasing -std=gnu++11  -c ../../Source/WebKit/chromium/cc/render_surface_filters.cc -o obj/source/webkit/chromium/cc/cc.render_surface_filters.o
&gt; ../../Source/WebKit/chromium/cc/render_surface_filters.cc:348:17: error: enumeration value &apos;FilterTypeSaturatingBrightness&apos; not handled in switch [-Werror,-Wswitch]
&gt;         switch (op.type()) {
&gt;                 ^
&gt; ../../Source/WebKit/chromium/cc/render_surface_filters.cc:384:17: error: enumeration value &apos;FilterTypeSaturatingBrightness&apos; not handled in switch [-Werror,-Wswitch]
&gt;         switch (op.type()) {
&gt;                 ^
&gt; 2 errors generated.
&gt; ninja: build stopped: subcommand failed.
&gt; 
&gt; http://build.webkit.org/builders/Chromium%20Mac%20Release/builds/55540/steps/compile-webkit/logs/stdio
&gt; 
&gt; I think we&apos;ll have to add a default: to the chromium side switch statement.

I think Florin already did that (will check).  Was this on the build.webkit.org builders?  Maybe they just need a Chromium DEPS roll.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>830033</commentid>
    <comment_count>10</comment_count>
    <who name="Stephen White">senorblanco</who>
    <bug_when>2013-02-11 13:17:21 -0800</bug_when>
    <thetext>(In reply to comment #9)
&gt; (In reply to comment #8)
&gt; &gt; (In reply to comment #7)
&gt; &gt; &gt; Committed r142496: &lt;http://trac.webkit.org/changeset/142496&gt;
&gt; &gt; 
&gt; &gt; This breaks the build:
&gt; &gt; 
&gt; &gt; FAILED: ../../Source/WebKit/chromium/third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/source/webkit/chromium/cc/cc.render_surface_filters.o.d -DCHROMIUM_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DENABLE_PEPPER_THREADING -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1 -DUSE_SKIA=1 -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1 -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1 -DENABLE_LANGUAGE_DETECTION=1 -DENABLE_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_MANAGED_USERS=1 -DCC_IMPLEMENTATION=1 -DSK_BUILD_NO_IMAGE_ENCODE -DSK_DEFERRED_CANVAS_USES_GPIPE=1 &apos;-DGR_GL_CUSTOM_SETUP_HEADER=&quot;GrGLConfig_chrome.h&quot;&apos; -DGR_AGGRESSIVE_SHADER_OPTS=1 -DSK_ENABLE_INST_COUNT=0 -DSK_USE_POSIX_THREADS -DU_USING_ICU_NAMESPACE=0 -DU_STATIC_IMPLEMENTATION -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../Source/WebKit/chromium/third_party/icu/public/common -I../../Source/WebKit/chromium/third_party/icu/public/i18n -I../../Source/WebKit/chromium/third_party/khronos -I../../Source/WebKit/chromium/gpu -I../../Source/WebKit/chromium -I../../Source/WebKit/chromium/skia/config -I../../Source/WebKit/chromium/third_party/skia/src/core -I../../Source/WebKit/chromium/third_party/skia/include/config -I../../Source/WebKit/chromium/third_party/skia/include/core -I../../Source/WebKit/chromium/third_party/skia/include/effects -I../../Source/WebKit/chromium/third_party/skia/include/pdf -I../../Source/WebKit/chromium/third_party/skia/include/gpu -I../../Source/WebKit/chromium/third_party/skia/include/gpu/gl -I../../Source/WebKit/chromium/third_party/skia/include/pipe -I../../Source/WebKit/chromium/third_party/skia/include/ports -I../../Source/WebKit/chromium/third_party/skia/include/utils -I../../Source/WebKit/chromium/skia/ext -I../../Source/WebKit/chromium/third_party/skia/include/utils/mac -Igen/ui/gl -I../../Source/WebKit/chromium/third_party/mesa/MesaLib/include -I../../Source/Platform/chromium -Igen/webkit -I../../Source/Platform/chromium -Igen/webcore_headers -I../../Source/WebKit/chromium/third_party/npapi -I../../Source/WebKit/chromium/third_party/npapi/bindings -I../../Source/WebKit/chromium/v8/include -isysroot /Developer/SDKs/MacOSX10.6.sdk -O3 -gdwarf-2 -fvisibility=hidden -Werror -Wnewline-eof -mmacosx-version-min=10.6 -arch i386 -Wendif-labels -Wno-unused-parameter -Wno-missing-field-initializers -Wheader-hygiene -Wno-c++11-narrowing -Wno-reserved-user-defined-literal -Wno-char-subscripts -Wno-unused-function -Wno-covered-switch-default -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -fcolor-diagnostics -fno-strict-aliasing -std=gnu++11  -c ../../Source/WebKit/chromium/cc/render_surface_filters.cc -o obj/source/webkit/chromium/cc/cc.render_surface_filters.o
&gt; &gt; ../../Source/WebKit/chromium/cc/render_surface_filters.cc:348:17: error: enumeration value &apos;FilterTypeSaturatingBrightness&apos; not handled in switch [-Werror,-Wswitch]
&gt; &gt;         switch (op.type()) {
&gt; &gt;                 ^
&gt; &gt; ../../Source/WebKit/chromium/cc/render_surface_filters.cc:384:17: error: enumeration value &apos;FilterTypeSaturatingBrightness&apos; not handled in switch [-Werror,-Wswitch]
&gt; &gt;         switch (op.type()) {
&gt; &gt;                 ^
&gt; &gt; 2 errors generated.
&gt; &gt; ninja: build stopped: subcommand failed.
&gt; &gt; 
&gt; &gt; http://build.webkit.org/builders/Chromium%20Mac%20Release/builds/55540/steps/compile-webkit/logs/stdio
&gt; &gt; 
&gt; &gt; I think we&apos;ll have to add a default: to the chromium side switch statement.
&gt; 
&gt; I think Florin already did that (will check).  Was this on the build.webkit.org builders?  Maybe they just need a Chromium DEPS roll.

Never mind, that was in cc_messages.cc.  Looks like we need some in render_surface_filters.cc as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>830064</commentid>
    <comment_count>11</comment_count>
    <who name="Florin Malita">fmalita</who>
    <bug_when>2013-02-11 13:37:17 -0800</bug_when>
    <thetext>(In reply to comment #10)
&gt; Never mind, that was in cc_messages.cc.  Looks like we need some in render_surface_filters.cc as well.

Yes, missed that somehow. Already landed http://build.chromium.org/p/chromium.webkit/changes/102436, rolling into WK right now.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>187485</attachid>
            <date>2013-02-10 10:04:45 -0800</date>
            <delta_ts>2013-02-11 09:55:34 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-109380-20130210130117.patch</filename>
            <type>text/plain</type>
            <size>3251</size>
            <attacher name="Florin Malita">fmalita</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTQyNDA0CmRpZmYgLS1naXQgYS9Tb3VyY2UvUGxhdGZvcm0v
Q2hhbmdlTG9nIGIvU291cmNlL1BsYXRmb3JtL0NoYW5nZUxvZwppbmRleCBmZDY4NDM5NzhlMDE5
ZjAyYTc4YzcyY2JmNTYzZDkzMmRlMjRiZjUxLi4wZjU3NjNjMTlkODUyODU0YWNiZTY5OGVkNGE5
YjVhZWYyNzZjYjhkIDEwMDY0NAotLS0gYS9Tb3VyY2UvUGxhdGZvcm0vQ2hhbmdlTG9nCisrKyBi
L1NvdXJjZS9QbGF0Zm9ybS9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxOSBAQAorMjAxMy0wMi0xMCAg
RmxvcmluIE1hbGl0YSAgPGZtYWxpdGFAY2hyb21pdW0ub3JnPgorCisgICAgICAgIFtDaHJvbWl1
bV0gRmlsdGVyVHlwZVNhdHVyYXRpbmdCcmlnaHRuZXNzIGVudW0KKyAgICAgICAgaHR0cHM6Ly9i
dWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEwOTM4MAorCisgICAgICAgIEludHJvZHVj
ZSBhIG5ldyBXZWJGaWx0ZXJPcGVyYXRpb246OkZpbHRlclR5cGUgZW51bSAoRmlsdGVyVHlwZVNh
dHVyYXRpbmdCcmlnaHRuZXNzKQorICAgICAgICB0byBzdXBwb3J0IGV4aXN0aW5nIGludGVybnRh
bCBjbGllbnRzIHdoaWNoIHJlbHkgb24gdGhlIGN1cnJlbnQgc2F0dXJhdGluZyBicmlnaHRuZXNz
CisgICAgICAgIGJlaGF2aW9yIChpbiBwcmVwYXJhdGlvbiBvZiBzd2l0Y2hpbmcgdG8g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ID09IEZpbHRlclR5cGVab29tCisgICAgICAgICAgICAgICAgICAgfHwgbV90eXBlID09
IEZpbHRlclR5cGVTYXR1cmF0aW5nQnJpZ2h0bmVzcyk7CiAgICAgICAgIG1fYW1vdW50ID0gYW1v
dW50OwogICAgIH0KICAgICB2b2lkIHNldERyb3BTaGFkb3dPZmZzZXQoV2ViUG9pbnQgb2Zmc2V0
KQo=
</data>
<flag name="review"
          id="207312"
          type_id="1"
          status="+"
          setter="jamesr"
    />
          </attachment>
      

    </bug>

</bugzilla>