Skip to content
  • tony@chromium.org's avatar
    Remove more internals.settings that are autogenerated · f3ba1612
    tony@chromium.org authored
    https://bugs.webkit.org/show_bug.cgi?id=106253
    
    Reviewed by Adam Barth.
    
    Source/WebCore:
    
    Remove 8 methods that are autogenerated by Settings.in.
    
    No new tests, this is a refactor and is convered by existing tests.
    
    * testing/InternalSettings.cpp:
    (WebCore::InternalSettings::Backup::Backup): Remove backup.
    (WebCore::InternalSettings::Backup::restoreTo): Remove restore.
    * testing/InternalSettings.h:
    (Backup): Remove member variables and functions.
    (InternalSettings):
    * testing/InternalSettings.idl: Remove functions.
    
    LayoutTests:
    
    These tests were manually trying to reset setMediaPlaybackRequiresUserGesture
    when the test ended because they weren't using the InternalSettings::Backup to
    save/restore the prefs. The autogenerated code will properly reset these prefs
    before the next test.
    
    * media/no-autoplay-with-user-gesture-requirement.html:
    * media/video-load-require-user-gesture.html:
    * media/video-play-require-user-gesture.html:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    f3ba1612